Advertisements
Advertisements
Question
Explain the following HTML tag with an example:
<SUB>
Explain
Advertisements
Solution
- The
<SUB>tag is used to display subscript text. - Any text written between
<SUB>and</SUB>appears in subscript form. - The subscript text is shown slightly below the normal text line.
- This tag is commonly used for chemical formulas.
- Example:
H<SUB>2</SUB>O
It will be displayed as H2O.
shaalaa.com
Is there an error in this question or solution?
2021-2022 (March) Set 1
