• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

document.classes

JavaScript 1.2+ Nav4+ Syntax

document.classes.className.tagName
						

Description

The classes property is an associative array that contains classes associated with Netscape style sheets. Using dot notation, className specifies the class attribute and associated HTML tag ( tagName ) for which the style is applied. When tagName is set to all, the style is applied to all tags with a class attribute of className. The style sheet classes are created within <style> or <script> using JavaScript or HTML.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint