html tutorial - Superscript <sup> tag in HTML - html5 - html code - html form

superscript tag

Learn html - html tutorial - superscript tag - html examples - html programs

  • The <sup> tag is used to define the text as Superscript text. This tag is mostly used in the Formula’s.
  • Superscript texts are placed in top of the Normal Line.
  • The sup tag will also support both Global Attribute and Event attribute.
  • <sup> tag belongs to Flow content and Phrasing content.

Syntax for <sup> tag:


Sample Coding for <sup> tag in HTML:

Tryit<!DOCTYPE html>
<html >
        <title>Wikitechy sup tag</title>
        <h2>HTML sup tag with example</h2> 
        <p>Wikitechy HTML tutorial for<sup>sup</sup>tag.</p>

Code Explanation for <sup> tag in HTML:

code explanation for superscript sup tag

  1. <sup> tag is used to define the text as a superscript text.

Output of <sup> tag:

output for superscript sup tag

  1. The output shows the text “sup” in top of the normal text.

Browser Support for <sup> tag:

Yes Yes Yes Yes Yes

Related Searches to superscript tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.