What is the use of span tag

The span tag is used for following things:

  • For adding color on text
  • For adding background on text
  • Highlight any color text etc.

Ex:-

<p>

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

In this page we use span.

</span>

</p>

results matching ""

    No results matching ""