Summary of Text Tags 111
Formatting
Text
Summary of Text Tags
Web Design in a Nutshell, eMatter Edition
Denotes the definition portion of an item within a definition list. The definition is
usually displayed with an indented left margin. The closing tag is commonly
omitted, but should be included when applying style sheets.
Denotes the term portion of an item within a definition list. The closing tag is
normally omitted, but should be included when applying style sheets.
Defines an item in a list. It is used within the
- , and
- list tags.
Attributes
The following attributes have been deprecated by the HTML 4.0 Specification in
favor of style sheet controls for list item display.
type=format
Changes the format of the automatically generated numbers or bullets for list
items.
Within unordered lists (
- ), the type attribute can be used to specify the
bullet style (disc,circle, orsquare) for a particular list item.
Within ordered lists (
- ), the type attribute specifies the numbering style
(see options under
- listing below) for a particular list item.
value=number
Within ordered lists, you can specify the number (n) of an item. Following list
items will increase from the specified number.