HTML Superscript and Subscript Superscript The HTML <sup> tag is used to create superscript text. The text inside the <sup> tag is rendered half a character above the normal line and has a smaller font size. For example, <p> This is a <sup>Superscript</sup> text.</p> Browser Output...
This is subscript and superscriptTry it Yourself » HTML Formatting ElementsFormatting elements were designed to display special types of text:<b> - Bold text <strong> - Important text <i> - Italic text <em> - Emphasized text <mark> - Marked text <small> - Smaller text <del> - ...
And you can also apply CSS and do absolutely the same, especially since you can customize the text and make it superscripted or subscripted as you want by using pixels. ( positive value for superscript, negative value for subscript ) Look: <style> <!— for superscripted text —> p{ vert...
and embed videos directly into your emails. You can also useHTML tags to customize the way the font looks, whether you want to use a different font or change the color or size of the font you’re using. Heading, subscript, and superscript tags allow for even more customization when it ...
The <sub> HTML element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text.
The same principle applies to the <sub> tag (which represents subscript text).SyntaxThe <sup> tag is written as <sup></sup> with the superscript text inserted between the start and end tags.Like this:<sup>Superscript text here...</sup>...
<sub>Subscript TextTypographical stylistic choice <sup>Superscript TextAnother typographical presentation style These tagsmustbe opened and closed around the text in question. Let’s try it out. On a new line in the HTML editor, type the following HTML code: ...
elementSmall formatting using the <small> elementMarked formatting using the <mark> elementMarked deleted using the <del> elementMarked inserted using the <ins> elementMarked deleted and inserted using <del> and <ins>Subscript formatting using the <sub> elementSuperscript formatting using the <sup>...
2.1.1865 Part 4 Section 7.1.2.99, sPre (Pre-Sub-Superscript Function) 2.1.1866 Part 4 Section 7.1.2.101, sSub (Subscript Function) 2.1.1867 Part 4 Section 7.1.2.103, sSubSup (Sub-Superscript Function) 2.1.1868 Part 4 Section 7.1.2.105, sSup (Superscript Function) 2.1.1869 Pa...
The main goal of this challenge is to teach the core building block of the web that is HTML. Therefore, let's get started by understanding some the terminologies in this field such asweb development,front end development,back end development, andfull-stack. ...