in HTML by (32.2k points)
What is the use of a span tag in HTML?

1 Answer

0 votes
by (23.9k points)
The span tag is used for following things:

For adding color on text

For adding background on text

Highlight any color text

Example:

<p>  

<span style="color:#ffffff;">  

In this page we use span.  

</span>  

</p>

Related questions

0 votes
0 votes
asked Oct 24, 2019 in HTML by SakshiSharma (32.2k points)
0 votes
0 votes
...