programming-examples/html/Basics/Sub and Superscript text.html

11 lines
380 B
HTML
Raw Normal View History

2019-11-18 14:44:36 +01:00
<!DOCTYPE html>
<html subLang="en">
<head>
<title>Example of HTML subscript and superscript</title>
</head>
<body>
<p>The chemical formula of Water is: H<sub>2</sub>O</p>
<p>The chemical formula of Carbon Dioxide is: CO<sub>2</sub></p>
<p>The equation of mass-energy equivalence is: E=mc<sup>2</sup></p>
</body>
</html>