Recents in Beach

Subscript Tag in Html

Subscript Tag in Html 


Subscript Text The content of a <sub>...</sub> element is written in subscript; the font size used is the same as the characters surrounding it, but is displayed half a character's height beneath the other characters

the subscript text appears in a smaller font and the half character below the normal line. It is generally used to write chemical equations or chemical formulas such as H2O, H2SO4, etc.

Example:

<!DOCTYPE html>

<html>

<head>

<title>Subscript Text Example</title>

</head>

<body>

<p>Welcome To <sub>LAUNCHPADLWD</sub>blog.</p>

</body>

</html>

 

 


Superscript Tag In Html:



Post a Comment

0 Comments