The span tag is used for the following things

  • For adding color to text
  • For adding background on text
  • Highlight any color text
BY Best Interview Question ON 31 Mar 2020

Example

<span> This is a example of span tag. </span>