Subscript Text on HTML
Subscript Text:
• The content of a <sub>…….</sub> element is written in subscript.
• The font size used is the same size as the characters surrounding it but it displayed half a
character’s height beneath the other character.
Example:
<!DOCTYPE html>
<html>
<head>
<title Formatting Example</title>
</head>
<body>
<p>The following word uses a <sub> subscript </sub>typeface.</p>
</body>
</html>
OUTPUT:
Comments
Post a Comment