View video tutorial

HTML <ul> Tag

HTML

The <ul> tag defines an unordered list.

HTML <ul> Tag


The <ul> element represents a unordered list of items.

Unordered lists are usually rendered as a bulleted list.

The <ul> tag uses <li> inside it to create a unordered list.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<h2>An Unordered List (Seafood)</h2>
<ul>
  <li>Ikura</li>
  <li>Konbu</li>
  <li>Gravad lax</li>
</ul>
Try it Now »

Click on the "Try it Now" button to see how it works.