Ads by ProfitSence

HTML Superscript Element

Last Updated on Wednesday 5th Oct 2022

html superscript


The <sup> tag defines superscript text. Superscript text appears half a character above the normal line,

  • <sup> html element
  • It changes the Position.
  • It Markup mathematically expression properly if you have a formula.
  • You need to write something like a formula done easily with the superscript element.
					<h3> a <sup> 2 </sup> + b <sup> 2 </sup> + c + <sup> 2 </sup> </h3>


superscript html



Exponents, or powers of a number

  • Its display mathematical expressions
  • SuperScript will raise it like an exponent


					<p>The <b>Pythagorean theorem</b> is often expressed as the following equation:</p>

<p><var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var></p>



The Pythagorean theorem is often expressed as the following equation:

a2 + b2 = c2

Browser Support

Element Chrome Edge Mozilla Safari Opera
<sup> Yes Yes Yes Yes Yes
html superscript
superscript html
html for superscript
html superscript 2
superscript in html
superscript html code
html code superscript
html superscript code
html code for superscript
superscript 2 html