August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.tags.tagName
The tags property is an associative array that contains tags associated with Netscape style sheets. Using dot notation, tagName specifies a tag associated with a style. The style sheet tags are created within the <style> or <script> tags using JavaScript or HTML.
Note
When creating a tag, make sure the declaration appears before the new tag is used, because many HTML objects cannot be changed after they have been created in the document.
Note
If JavaScript dot notation is used when creating a new tag within <style> tags, document does not have to be specified.
Listing 7.161 demonstrates three different ways to create style sheet tags using JavaScript ...
Read now
Unlock full access