|Contents||One or more LI elements|
|Contained in||APPLET, BLOCKQUOTE, BODY, BUTTON, CENTER, DD, DEL, DIV, FIELDSET, FORM, IFRAME, INS, LI, MAP, NOFRAMES, NOSCRIPT, OBJECT, TD, TH|
The UL element defines an unordered list. The element contains one or more LI elements that define the actual items of the list.
Unlike with an ordered list (OL), the items of an unordered list have no sequence. In theory, users could be able to change the order of items in an unordered list (e.g., alphabetizing them).
Visual browsers typically render UL with a bullet preceding each list item, but authors can suggest various presentations using style sheets. The list-style property of Cascading Style Sheets allows authors to suppress bullets, use images as list item markers, and more.
The deprecated TYPE attribute of UL suggests the bullet style on visual browsers. Possible values are as follows:
The deprecated COMPACT attribute suggests that visual browsers render the list compactly, perhaps with reduced spacing between items. This attribute is not well supported among browsers.