sub, supNN 6 IE 4 DOM 1  

  

The sub object reflects the sub element; the sup object reflects the sup element. Browsers tend to render these objects' content in a smaller size than surrounding content. IE 5 for Macintosh provides object-specific, read-only height and width properties for these elements, but no other object model does.

 
HTML Equivalent
 
<sub>
<sup>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
 
Object-Specific Properties

None.

 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.