<!DOCTYPE html>  
<html>  
<body>    

		<p>Simple Mathemetical Formula: X2+Y2=Z2</p><br /> 
		<p>Simple Mathemetical Formula: X<sup>2</sup>+Y<sup>2</sup>=Z<sup>2</sup></p>

</body>  
</html>
.
.

Explanation

  • The HTML <sub> tag is used for defining superscript text.

Attributes

The <sup> tag supports Standard Attributes and Event Attributes.