How to use span tag


<span>

All Tags not showing in online page, but show on view source.

<p>Have you <span style="color:red;">red</span> pen</p>

Code show like this:

Have you red pen

Browser Support

The <span> tag is supported in all major browsers.

What is span tag

span tag is used to color some text and change property.

Leave a Reply

Your email address will not be published. Required fields are marked *