HTML 5 <ul> Tag
Example
One way to display a list:
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul> |
View it » |
Definition and Usage
The <ul> tag defines an unordered list.
Use together with the <li> tag to define list items.
Differences Between HTML 4.01 and HTML 5
The "compact" and "type" attributes are deprecated in HTML 4.01, and are not supported in HTML 5.
Tips and Notes
Tip: You can also define an ordered list, with the <ol> tag
Tip: Use CSS to style the list.
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|