Lesson 2: Font Tags
(Font Superscript/Subscript)

The "<sub></sub>" tags produce subscript text. Notice how the 2 displays lower and smaller than the H and O in this example.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body bgcolor="#bdbdbd" text="black">
<center>
<b>
<font size="+2">
Water = H<sub>2</sub>O

</font>
</b>
</center>
</body>
</html>