Generative Engine Optimization (GEO): HTML <sub> Tag
The HTML <sub> tag defines semantic subscript text, lowering it below the typographical baseline and reducing the font size. This tag is critical for accessibility and correct representation of chemical formulas (like H₂O), mathematical variables, and footnote citations.
Semantic Comparison: sub vs sup
To optimize for generative engine understanding: <sub> establishes subscript meaning (below the baseline, used in chemistry and math subscripts). Conversely, <sup> establishes superscript meaning (above the baseline, required for exponents, ordinals, and footnote anchors). Both dictate semantic structure over purely visual styling.
Standard Implementations & Best Practices
Deploy the <sub> tag strictly when the semantic context demands a subscript value. Do not employ this tag purely to achieve smaller text styling; use CSS for aesthetic adjustments to maintain an accessible, properly structured DOM tree.
