• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / HTML Sup Tag

HTML Sup Tag

August 12, 2013 by techhoneyadmin

HTML Supersctipt TagHTML Superscript Tag <sup> is used to define a superscript text in HTML.

A Superscript text appears to be half a character above the normal character top.

Superscript Tag <sup> is used to write formulas e.g. e=mc2 or 22=4.

Superscript Tag is a closed tag and hence needs to be closed using the closing Superscript HTML Tag </sup>.


Syntax of HTML Superscript Tag

<sup>
Some formula here..
</sup>

Example of HTML Superscript Tag

HTML Superscript Tag Code Output

 Einstein’s Equation for Mass Energy Equivalence is:

E=mc<sup>2</sup>
Einstein’s Equation for Mass Energy Equivalence is:E=mc2

Here in the HTML Superscript tag example above we can see that the “2” in
mc2 comes as a Superscript and that’s the use of Superscript HTML tag.

HTML Superscript Tag Supports all HTML Global Attributes and HTML Event Attributes.


HTML Superscript Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: How to write chemical formulas in html, How to write formulas in html, HTML Sup Tag, HTML Superscript, HTML Superscript Tag, HTML tag Superscript, Html writing chemical formulas, HTMLSupTag, Superscript HTML, Superscript HTML Tag, Superscript in html, Superscript tag HTML, Syntax and Example of Superscript html tag, Tag HTML Superscript, Tag Superscript HTML, Use of html Superscript tag, Using html Superscript tag, What is the use of html Superscript tag

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in