1. Home
  2. Computing & Technology
  3. Web Design / HTML

<ul></ul>

By Jennifer Kyrnin, About.com

<ul> Description:

The <ul></ul> tag defines an unordered or bulletted list.

<ul> Web Browser Support:

<ul> Attributes:

<ul> End Tag:

</ul> REQUIRED

<ul> Contents:

List elements. The fullowing tags are valid within the <ul> tag:
li

<ul> Valid Context:

The <ul> tag is valid within the fullowing tags:
blockquote, body, button, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th

<ul> Usage:

  • typical list
    <ul>
    <li>bullet 1</li>
    <li>bullet 2</li>
    </ul>

<ul> Special Notes:

  • Use a bulleted list when the order of the elements doesn't matter.
  • Most browsers will automatically indent the second and subsequent lines to keep the bullets easy to read.
  • One thing to note is that many browsers change the "type" of bullet used based upon the indentation. This can be affected by other lists (ul, ol, dl, etc.), and blockquote.

More <ul> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The ul Element - unordered lists - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.