What is the use of span tag? Give one example.
Answer:
The span tag is used for following things:
- For adding color on text
- For adding background on text
- Highlight any color text etc.
Example:
<p>
<span style="color:#ffffff;">
In this page we use span.
</span>
</p>