Classification Properties |
|||
Comments: These properties let you classify elements by object type and assign characteristics based on these object types. | |||
Property | Description | Values | Example |
display
|
Specifies the category of object an element belongs to: a block element, like a heading or paragraph; an inline element, like emphasis or anchors; or a list-item element. If the category is none, the content of the element should not be displayed at all. | none "" block inline list-item |
p {display: none} Hides the content of the paragraph. p {display: ""} Display the contents of the paragraph. p {display: block} Treats the paragraph as a block element, which can be positioned separately using the positioning attributes. |
list-style-image
|
Selects a specific image to serve as a bullet in front of list items. | url(URLname) | ul {list-style-image: url(../images/smiley.gif)} Unordered list items can use the "smiley.gif" image as a bullet. |
list-style
|
Any of the above list-style values separated by spaces. | {list-style: disc inside} | ul {list-style: Just Like This} |