
HTML <sub> Tag - W3Schools
The <sub> tag defines subscript text. Subscript text appears half a character below the normal line, and is sometimes rendered in a smaller font. Subscript text can be used for chemical …
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 …
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.
HTML Subscript - GeeksforGeeks
Jan 14, 2025 · Subscript refers to a style of text formatting where characters are set slightly below the normal line of text and are usually rendered in a smaller font size. Examples of subscript …
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., …
: The Subscript element - HTML: HyperText Markup Language
Apr 10, 2025 · The <sup> HTML element that produces superscript. Note that you cannot use sup and sub both at the same time: you need to use MathML to produce both a superscript directly …
HTML cheatsheet for syntax and common tasks
Apr 23, 2025 · While using HTML it can be very handy to have an easy way to remember how to use HTML tags properly and how to apply them. MDN provides you with extended HTML …
HTML <sub> Tag - W3docs
The tag is used to define the subscript text that appears half a character below the line, and is rendered in a smaller font. See examples and Syntax.
HTML Subscript Tag - Naukri Code 360
Jan 11, 2025 · In this article, we will discuss how to use the <sub> tag to create subscript text in HTML, understand its functions, and see examples of how it's applied in web pages. Subscript …
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 …
- Some results have been removed