This <span> element is used to apply style sheet to the text.
<span> |
Yes | Yes | Yes | Yes | Yes |
None.
The <span> tag supports the Global Attributes in HTML.
The <span> tag supports the Event Attributes in HTML.
None.
A demo showing how to use <span> tag.
<html>
<body>
<p>
<span style="color: #FF0000;">paragraph</span>
<span style="color: blue;">three </span>
<span style="color: blue;">styles </span>.
</p>
</body>
</html>