Lesson 2: Font Tags
(Font Superscript/Subscript)

Use the "<sup></sup>" tags if you need to produce superscript text. Notice how the 2's display higher and smaller than the A,B, and C 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">
A<sup>2</sup> + B<sup>2</sup> = C<sup>2</sup>
</font>
</b>
</center>
</body>
</html>