0 votes
in HTML by
What is the use of a span tag in HTML?

1 Answer

0 votes
by
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
asked Oct 24, 2019 in HTML by SakshiSharma
0 votes
asked Jan 29, 2021 in HTML by rajeshsharma
...