The following code shows an example of Formatting Tags and Special Characters in HTML. In fact, there are a number of formatting tags available in HTML. For instance, these are the some examples of formatting tags available – <b>, <i>, <u>, <ins>, <del>, <sub>, <sup>, <strong>, and so on. The following example shows the usage of <sub>, and <sup> tags.

*equation.html*

```
<html>
<head>
<title>Subscript and Superscript</title>
</head>
<body>
<p style="text-align: justify;margin-left: 20px;">In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is</p>
<p style="text-align: justify;margin-left: 20px;"> a<sub>1</sub>x<sup>2</sup>+a<sub>2</sub>x+a<sub>3</sub> = 0</p>
<p style="text-align: justify;margin-left: 20px;">where a<sub>1</sub> ≠ 0. (For if a<sub>1</sub> = 0, the equation becomes a linear equation.</p>
</body>
</html>
```

*Output*