Javascript Reference
Categories: SUB

javascript SUB Description

@March 15, 2008, 1:22 a.m.
sub, supFirefox/Netscape/NN 6 IE 4 Chrome/Safari/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.


Powered by Linode.