<

HTML <span> Tag

The <span> tag is used to group inline-elements in a document.The <span> tag provides no visual change by itself.

The <span> tag provides a way to add a hook to a part of a text or a part of a document.

Example



<!DOCTYPE html>
<html>
<body>

<p>Grass is <span style="color:green;font-weight:bold">green</span> </p>

</body>
</html>

















© copyright 2017-2022 Completedone pvt ltd.