August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName
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.
Note
When creating a class, make sure the declaration appears before the new class is used, because many HTML objects cannot be changed once they have been created in the document.
Note
If JavaScript dot notation is used when ...
Read now
Unlock full access