Video is not available... Embedded is previous playlist.
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 style
, class
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>