The <sup> element

The text inside <sup>..</sup> element is rendered with <i>superscript<i> text style.

snippet
<html>
<head></head>
<body>
The formula for (a+b)<sup>2</sup> = a<sup>2</sup>+b<sup>2</sup>+2ab
<body>
<html>

Output
The formula for (a+b) is a2+b2+2ab
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +