span

Support

Specifies an inline text group.

The span tag is one of the most useful HTML elements. With this tag you can insert and format inline text into the HTML content.

Example

<head>
<style>
.redText {
color: red;
}
.blueText {
color: blue;
}
</style>
</head>
<body> <p>Normal text,
<span class="redText">red text</span>,
<span class="blueText">blue text</span>, normal text </p>
</body>

Preview

Normal text, red text, blue text, normal text