August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.display
The display property specifies an element is displayed when associated with the class called className. The definition can also specify a tag or the word all for tagName.
The display property can be assigned one of the following values: inline, block, list-item, or none.
Specifying an inline value is equivalent to using the <em> tag. The block value is the same as creating header text with the <h> tag. Using list-item is equivalent to using the <li> tag. If none is specified, the element is not displayed.
Listing 7.72 sets the display property equal to "block" to create header text. Block consists of a line break ...
Read now
Unlock full access