HTML5 > Elements of HTML

Superscript in HTML5

How to use superscript in HTML5

Superscript is used to define the selected text above the line. We use the <sup> tag to define superscript.

<p>Dotnetfunda is an online tutorial to<sup> learn and share the technologies</sup> with each other</p>

In the above code snippet we have defined the superscript. We have taken <p> tag and defined the text and in that text we have selected the text by using <sup> as learn and share the technologies </sup>. The <sup> tag is used to define the text above the line.



 Views: 734 | Post Order: 11

Write for us