HTML Span Tag
HTML Span tag is a liner container it contains all charector in same - line
Span tag does not have any specific attribute
Span tag support all global attribute
HTML Span used to inlining style of paragraph , heading , and anythings which is in a line
Example
<span>hello boss how are you </span>
<span> I am fine</span>
Result
hello boss how are you
I am fine
Use span tag in paragrph tag
Example
<p>Hello john <span> how are you </span></p>
Result
Hello john how are you
Use span for inlining style
Example
<span class="red"> fast2 </span><sapn class=" black"> learniing </span>
NOTE : above class style given in css file