ul ElementThe ul element is a block-level element declared by the XHTML 1.1 List Module
Elements in the List Module are:ul | ol | li | dl | dt | dd
The ul element, in conjunction with the li element, allows an
unordered (bulletted) list to be created.
For example, the code:
<ul>
<li>First List Item in Unordered List</li>
<li>Second List Item in Unordered List</li>
<li>Third List Item in Unordered List</li>
</ul>
would be rendered in your browser as follows:
There are no styles applied to this list (or its elements) on this page so the above rendering is the default
of your browser. You can change the rendering using CSS.
See also the ol element.
There are no #REQUIRED attributes on the ul element.
There are no specific attributes declared on the ul element.
ul element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
ul element is:
li+
NOTE: This element cannot be empty
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
ulliulbodyblockquote, divdd, litd, thbutton, fieldset, formmapnoscriptdel, insobject