ul

FilterElements

<ul> ... </ul>

Defines an unordered list, in which list items (li) have no sequence. By default, browsers insert bullets before each item in an unordered list. Lists may be formatted in any fashion (including as horizontal navigation elements) using Cascading Style Sheet properties.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5

compact

Values: None in HTML. (compact="compact" in XHTML)
Deprecated. Not in HTML5. Displays the list block as small as possible. Few browsers support this attribute.

type=

Values: disc | circle | square
Deprecated. Not in HTML5. Defines the shape of the bullets used for each list item.
<ul>
  <li>About</li>
  <li>Portfolio</li>
  <li>Blog</li>
  <li>Contact</li>
</ul>

Rendered Example

  • About
  • Portfolio
  • Blog
  • Contact