HTML Subscript <sub>

Usage

The HTML subscript tag is used to display subscript in your text.

You can also check out the HTML Superscript tag.

Code:


<!DOCTYPE html>
<html>
<head>
<!-- This is the stylesheet John created in 2020 -->
<link rel="stylesheet" href="/file/stylesheet.css">
</head>

<body>

<div id="openingparagraphs">

<p>Welcome to my webpage and paragraph 1.</p>

<p>I have so much to say I'm going to need a lot of paragraphs!</p>

Subscript is especially handy when it comes to match and science terms 
like C<sub>15</sub>>H<sub>16</sub>O<sub>2</sub>
and C<sub>14</sub>H<sub>12</sub>O<sub>3</sub>.

</div>

</body>

</html>

Output:

Welcome to my webpage and paragraph 1.

I have so much to say I’m going to need a lot of paragraphs!

Subscript is especially handy when it comes to match and science terms like C15H16O2 and C14H12O3.