Menu ▼

Previous Next

<sup> :

<sup> tag will be used when some text need to be superscript.

Syntax :

<sup>superscript text here...</sup>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <p>

        (A + B)<sup>2</sup> = A<sup>2</sup> + B<sup>2</sup> + 2AB

    </p>

</body>

</html>


Output :
HTML Tutorial

(A + B)2 = A2 + B2 + 2AB

Previous Next




Search dotnetlearners.com