From http://www.w3schools.com (Copyright Refsnes Data)
The <ul> tag defines an unordered list.
The "compact" and "type" attributes of the ul element were deprecated in HTML 4.01, and are no longer supported in HTML 5.
Tip: Use CSS to define the type of list.
Source | Output |
---|---|
<ul> <li>Coffee</li> <li>Tea</li> </ul> |
|
Attribute | Value | Description | 4 | 5 |
---|---|---|---|---|
compact | compact_rendering | Not supported. Use CSS instead | 4 | |
type | disc square circle |
Specifies the type of the list. Not supported. Use CSS instead. | 4 |
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in HTML 5.
onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload |
For a full description, go to Event Attributes in HTML 5.
An unordered list
An unordered list.
A nested list
A nested list.
Another nested list
A more complicated nested list.
From http://www.w3schools.com (Copyright Refsnes Data)