|
|
HTML <ul> tag
Syntax
<ul> - </ul>
Definition and Usage
The UL element defines a defines an unordered
list. The element contains one or more LI
elements that define the actual items of the list.
Optional Attributes
| Attribute |
Value |
Description |
| compact |
compact_rendering |
Deprecated. Use style sheets |
| type |
disc - a filled-in circle
square -
a square outline
circle -
a circle outline |
Specifies the type of the list. Deprecated. Use style
sheets |
Standard Attributes
| id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard
Attributes.
Event Attributes
| onclick, ondblclick, onmousedown, onmouseup, onmouseover,
onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
Example
| Source |
Output |
<ul>
<li>The elder scrolls</li>
<li>Titan Quest</li>
<li>Rise of Nations</li>
</ul> |
- The elder scrolls
- Titan Quest
- Rise of Nations
|
|
|