HTML5 <ul> Tag

Example

An unordered HTML list:

<ul>
<li>Earth</li>
<li>tea</li>
<li>Elephant</li>
</ul>
Code it Online »

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 HTML5

The "compact" and "type" attributes are deprecated in HTML 4.01, and are not supported in HTML5.

Tips and Notes

Hint: You can also define an ordered list, with the <ol> tag

Hint: Use CSS to style the list.

Standard Attributes

The <ul> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <ul> tag also supports the Event Attributes in HTML5.


Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!