sub element | sub object
[This documentation is preliminary and is subject to change.]
Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.
![]() |
Standards information
- HTML 4.01 Specification, Section 9.2.3
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | inline |
DOM Information
Inheritance Hierarchy
Node
sub
Element
sub
Remarks
Examples
This example uses the SUB element to change some of the text to a subscript font.
(X<SUB>1</SUB>,Y<SUB>1</SUB>)
See also
Build date: 3/8/2012
