Lists
This following information is described here:
HTML Features Which Produce Definition Lists
A definition list is an automatically formatted two-column list with terms on the left and their definitions on the right.
Denotes a definition list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Specifies that the following block is a definition list: that is, an automatically formatted two-column list with terms on the left and their definitions on the right. | <DL> <DT>Cat<DD>A furry cute animal that purrs and likes milk. <DT>Lizard<DD>A weird desert animal with a long tongue.</DL> |
HTML 2 |
Specifies a definition in a definition list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Indicates that the text is a definition of a term, and should therefore be displayed in the right-hand column of a definition list. | <DL> <DT>Cat<DD>A furry cute animal that purrs and likes milk. <DT>Lizard<DD>A weird desert animal with a long tongue.</DL> |
HTML 2 |
Specifies a term in a definition list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Indicates that the text is a term to be defined, and should therefore be displayed in the left-hand column of a definition list. | <DL> <DT>Cat<DD>A furry cute animal that purrs and likes milk. <DT>Lizard<DD>A weird desert animal with a long tongue.</DL> |
HTML 2 |
HTML Features Which Produce Directory Lists
A directory list consists of individual items, none containing more than 20 characters, which should be displayed in columns.
Denotes a directory list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Specifies that the following block consists of individual items, each beginning with an <LI> tag and none containing more than 20 characters, which should be displayed in columns. | <DIR> <LI>Art <LI>History <LI>Literature <LI>Sports <LI>Entertainment <LI>Science</DIR> |
HTML 2 |
Denotes one item of a list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | In a <DIR>, <MENU>, <OL>, or <UL> block, denotes a new list item. | <DIR> <LI>Art <LI>History <LI>Literature <LI>Sports <LI>Entertainment <LI>Science</DIR> |
HTML 2 |
HTML Features Which Produce Itemized Lists
An itemized list consists of individual items.
Denotes a list of items.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Specifies that the following block consists of individual items, each beginning with an <LI> tag. | <MENU><LI>This is the first item in the menu. <LI>And this is the second item in the menu.</MENU> |
HTML 2 |
Denotes one item of a list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | In a <MENU>, <DIR>, <UL>, or <OL> block, denotes a new list item. | <MENU><LI>This is the first item in the menu. <LI>And this is the second item in the menu.</MENU> |
HTML 2 |
HTML Features Which Produce Ordered Lists
An ordered list consists of individual items which are numbered.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Specifies that the following block consists of individual items, each beginning with an <LI> tag. The items are numbered. | <OL><LI>This is the first item in the list. <LI>And this is the second item in the list.</OL> |
HTML 2 |
START=n | Specifies a starting number for the list. | <OL START=3> <LI>This is item number 3.</OL> | Netscape |
TYPE=A, a, I, i, or 1 | Changes the style of the list. Codes: A=use large letters; a=use small letters; I=use large Roman numerals; i=use small Roman numerals; 1=use numbers. | <OL><LI TYPE=A> This is item A. <LI TYPE=1> This is item 2. <LI TYPE=i> This is item iii.</OL> |
Netscape |
Denotes one item of a list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | In a <OL>, <DIR>, <MENU>, or <UL> block, denotes a new list item. | <OL><LI>This is the first item in the list. <LI>And this is the second item in the list.</OL> |
HTML 2 |
TYPE=A, a, I, i, or 1 | Changes the style of an ordered list. Codes: A=use large letters; a=use small letters; I=use large Roman numerals; i=use small Roman numerals; 1=use numbers. | <OL><LI TYPE=A> This is item A. <LI TYPE=1> This is item 2. <LI TYPE=i> This is item iii.</OL> |
Netscape |
VALUE=n | Changes the count of ordered lists as they progress. | <OL><LI>This is item #1. <LI VALUE=3>This is item #3.</OL> |
Netscape |
HTML Features Which Produce Bulleted Lists
A bulleted list consists of individual items which are bulleted.
Draws lines of text as a bulleted list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | Specifies that the following block consists of individual items, each beginning with an <LI> tag. The items are bulleted. | <UL><LI>This is the first bulleted item in the list. <LI>And this is the second bulleted item in the list.</UL> |
HTML 2 |
Denotes one item of a list.
Attribute | Explanation | Example | Source |
---|---|---|---|
none | In a <UL>, <DIR>, <MENU> or <OL> block, denotes a new list item. | <UL><LI>This is the first item <LI>This is the second item </UL> |
HTML 2 |
TYPE=A, a, I, i, or 1 | Changes the style of an ordered list. Codes: A=use large letters; a=use small letters; I=use large Roman numerals; i=use small Roman numerals; 1=use numbers. | <OL><LI TYPE=A>This is item A. <LI TYPE=1>This is item 2. <LI TYPE=i>This is item iii. </OL> |
Netscape |
VALUE=n | Changes the count of ordered lists as they progress. | <OL><LI>This is item #1. <LI VALUE=3>This is item #3.</OL> |
Netscape |
Back to: HTML Specification Home Page
© 1996 Microsoft Corporation