Html superscript tag


Html superscript tag: <sup> is used to make the superscript in the texts.


Syntax of Html superscript tag

<sub>text.</sub>

Html superscript tag

Example

<!DOCTYPE html>
<html>
<head>
<title>Title</title>
</head>
<body>
<p>Superscript Tag : This paragraph contains the E=MC<sup> 2 </sup> texts.</p>
</body>
</html>

Try it »

Output :

html superscript tag EXAMPLE

html superscript tag EXAMPLE


Advertisements

Add Comment