September 2001
Intermediate to advanced
640 pages
31h 42m
English
display
This property defines how and if an element is displayed. A value of
none turns off the display and closes up the space
the element would otherwise occupy. (The second example given turns
off all images, for instance.) block opens a new
box that is positioned relative to adjacent boxes.
list-item is similar to block
except that a list-item marker is added. inline
results in a new inline box on the same line as the previous content.
block|inline|list-item|none
P {display: block}
IMG {display: none}All elements
No
Read now
Unlock full access