Document.tags[] (Collection)

Part of the JSS model supported only by Netscape 4.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:JSSTags object
JavaScript syntax:NmyDocument.tags

Prior to Netscape 6.0, this was one of the ways into the style sheet manipulation process. It is now deprecated and should not be used in any forward looking new projects unless they really need to operate with legacy browsers. Even then, compared with the MSIE and Netscape 6.0 capabilities, this is quite limited in its scope.

This roughly corresponds to the Document.styleSheets[] property in MSIE and is the root of the style control mechanism in Netscape .

Since you cannot enumerate this value and it does not translate easily into a primitive type it is difficult to examine from JavaScript.


See also:Document object, Document.classes[], Document.contextual(), JSSTags object

Property attributes:

ReadOnly, DontEnum.