List Tags in HTML


Lists - Organise text into a more structured outline by creating lists. Lists can be nested.

TagAttributeDescription
DDcore, eventsA definition description used in a DL tag (definition list). Can contain block-level content such as the P tag
DIRcore, eventsCreates a multi-column directory list. Must contain atleast one list item. This element is the same as the UL (un-ordered list) tag
 compactCompacts the displayed list
DLcore, eventsCreates a definition list. Must contain atleast one DT or DD tag in any order
 compactCompacts the displayed list
DTcore, eventsThe defintion term (or label) used within a DL (definition list) tag. Must contain text (which can be modified by text markup tags).
LIcore, eventsDefines a list item within a list
 type="..."Changes the numbering style (1, a, A, i, I) in ordered lists or bullet style (disc, square, circle) in un-ordered lists
 value="..."Sets the number to the given integer beginning with the current list item
MENUcore, eventsCreates a single column menu list. Must contain atleast one list item. This tag performs the same function as the UL (un-ordered list) tag
 compactCompacts the displayed list
OLcore, eventsCreates an ordered list. Must contain atleast one item
 type="..."Sets the numbering style (1, a, A, I, I)
 compactCompacts the displayed list
 start="..."Sets the starting number to the chosen integer relative to the value of the TYPE attribute. Thus set START="<an integer>"
ULcore, eventsCreates an un-ordered list. Must contain atleast one list item
 type="..."Sets the bullet style (disc, square, circle)
 compactCompacts the displayed list