An unordered HTML list:
![]()
The <ul> tag is supported in all major browsers.
The <ul> tag defines an unordered (bulleted) list.
Use the <ul> tag together with the <li> tag to create unordered lists.
Tip: Use CSS to style lists.
Tip: To create ordered lists, use the <ol> tag.
The "compact" and "type" attributes are deprecated in HTML 4.01, and are not supported in HTML5.
| Attribute | Value | Description |
|---|---|---|
| compact | compact | Not supported in HTML5. Deprecated in HTML 4.01. Specifies that the list should render smaller than normal |
| type | disc square circle |
Not supported in HTML5. Deprecated in HTML 4.01. Specifies the kind of marker to use in the list |
The <ul> tag also supports the Global Attributes in HTML.
The <ul> tag also supports the Event Attributes in HTML.
A nested list
A list inside a list.
Another nested list
A more complicated nested list.
HTML tutorial: HTML Lists
Your message has been sent to W3Schools.