About 7,510,000 results
Open links in new tab
  1. 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 …

  2. 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.

  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 <sup> HTML element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text.

  5. HTML Superscript - GeeksforGeeks

    Jan 14, 2025 · The Subscript Object in HTML DOM is used to represent the HTML <sub> element. The subscript element can be accessed by using the getElementById() method. Syntax: document.getElementById("id") Where id is assigned to the <sub> tag.

  6. 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 …

  7. Superscript and Subscript text in HTML - Code2care

    Sep 3, 2024 · Subscript and superscript text in HTML are used to display characters slightly below or above the normal line of text. This is commonly used in mathematical formulas, chemical equations, and footnotes.

  8. HTML elements reference - HTML: HyperText Markup Language

    Apr 12, 2025 · Specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text. <sup> Specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller ...

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

    Nov 15, 2024 · To make text appear as a subscript (small and below the baseline), wrap it in the <sub> tag. You can use the <sub> the tag inside elements like <p>, <h1>, <div>, etc., wherever you want subscripted text. This is especially useful …

  10. HTML Tutorials: Superscript and Subscript | Career Karma

    Dec 17, 2020 · In this guide, we’re going to talk about how to define subscript and superscript in HTML. We’ll walk through an example of each of these text formatting topics so you can learn to use them in your code.

  11. Some results have been removed
Refresh