Filter (Advanced Search)
Downloads
0
Views
219
Video

Video is not available... Embedded is previous playlist.

Details

The <span> element is an inline container used to mark up a part of a text, or a part of a document.

The <span> element has no required attributes, but styleclass and id are common.

When used together with CSS, the <span> element can be used to style parts of the text:


<!DOCTYPE html>
<html>
<head>
<title>The span element</title>
</head>
<body>

<h1>The span element</h1>

<p>GSSS <span style="color:blue;font-weight:bold;">KHOKHAR</span> Sri <span style="color:darkolivegreen;font-weight:bold;">Muktsar</span> Sahib.</p>

</body>
</html>



Ad