Sub ,Sup,Strike-through HTML TAG
1 open notepad
2 write the code in notepad.
<html>
<head>
<title>The title of your page</title>
</head>
<body> <br>
<br><center>
H<sub> 2 </sub> O
<br>
(A + B ) <sup>2 </sup>
<br>
<br>
<strike> hello friends </strike>
</body>
</html>
Output:
H2O
(A+B)2
hello friends
Note :
Superscript ~ Using HTML, you can create text that is raised above the preceding text and is displayed in a smaller font.
Subscript ~ This kind of text is lowered below the baseline of the preceding text and is displayed in a smaller font.
Strike-through ~ Using HTML, you can create text that looks like it's been crossed out or appears like it has a line drawn through it.