About 3,800,000 results
Open links in new tab
  1. HTML <sup> Tag - W3Schools

    The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW [1]. Tip: Use the <sub> tag to define subscript text.

  2. HTML Subscript and Superscript Tags - GeeksforGeeks

    Jan 14, 2025 · In HTML, the <sub> tag is used for subscript, making text appear slightly below the normal line, while the <sup> tag is used for superscript, positioning text slightly above the normal line. The <sub> tag displays text slightly below the regular text baseline. It …

  3. HTML Superscript and Subscript (With Examples) - Programiz

    The HTML and tags are used to implement superscript and subscript. In this tutorial, we will learn about them with the help of examples.

  4. : The Superscript element - HTML: HyperText Markup Language

    Apr 10, 2025 · The <sub> HTML element that produces subscripts. Note that you cannot use sub and sup at the same time: you need to use MathML to produce both a superscript and a subscript next to the chemical symbol of an element, representing its atomic number and its nuclear number. The <msub>, <msup>, and <msubsup> MathML elements. The CSS vertical-align ...

  5. HTML Superscript - GeeksforGeeks

    Jan 14, 2025 · How to Use Superscript in HTML? The HTML <sup> tag is specifically designed for superscript text. It is simple to use and supported by all major browsers. Syntax. 1. Mathematical Expressions. {...} In this example the <sup> tag visually raises the text (e.g., exponents) to represent mathematical powers. 2. Chemical Notations. {...} 3.

  6. How to Define Subscripted Text in HTML? - GeeksforGeeks

    Nov 15, 2024 · Superscript text is used for footnotes, mathematical exponents, and other notations. To define superscripted text in HTML5, use the <sup> tag. This tag adds superscript text to your HTML document, displaying it half a character above the normal line and often in a smaller font. Syntax <sup

  7. HTML superscript and subscript tag explained - sebhastian

    Aug 13, 2021 · HTML allows you to create superscript and subscript texts by using the <sup> and <sub> tags. HTML sup tag Superscripts raise the text above the normal line and commonly used to mark a footnote in a paragraph.

  8. Symbol Codes | Superscript and Subscript - Sites at Penn State

    There are several approaches to displaying superscript and subscript text on the Web, and each have their uses depending on your needs. If the superscript or subscript character is part of a mathematical equation, MathML markup is the most accessible, especially for blind users on a …

  9. Superscript and Subscript text in HTML - Code2care

    Sep 3, 2024 · Let us understand how to Superscript and Subscript text in HTML with hands-on examples.

  10. Subscript in HTML and SUP (Superscript) - Tuts Master ;)

    Dec 22, 2020 · The <sup> tag is used to define the superscript text on web pages. Superscript and Subscript are often used in mathematical expression and chemical compounds. The Superscript tag can be modified by using CSS, by defining id we will talk more in CSS Tutorial.

  11. Some results have been removed
Refresh