Javascript Reference
Categories: document

javascript document tags[ ]

@Aug. 17, 2009, 9:19 a.m.
tags[ ] NN |4| IE n/a Chrome/Safari/DOM n/a

 

Read-only

Used with the Navigator 4-only JavaScript syntax of style sheets, the tags[ ] collection is part of a reference to a single tag type and the style property assigned to it. For a list of properties. Do not confuse this Navigator use of the tags[ ] collection with Internet Explorer's use of the tags[ ] collection that belongs to the all collection.

 
Example
 
document.tags.H1.color= "red";
 
Value

Array of Navigator 4 JavaScript Style Sheet tag object references.

 
Default

Array of zero length.


Powered by Linode.