XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / ul

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

ul

HTML 4.01 | HTML 5

<ul> ... </ul>

Marks an unordered list whose list items (li) have no fixed order. By default, browsers insert a bullet before each list item. Stylesheet rules can format lists in any desired way, even as horizontal navigation elements.

Start/end tag

Required/required

Attributes

Core, internationalization, events, global HTML 5 attributes

  • compact="compact"

    Deprecated. Not in HTML 5. Displays the list as compactly as possible. Few browsers support this attribute.

  • type="disc|circle|square"

    Deprecated. Not in HTML 5. Defines the shape of the bullet for list items.

Example

<ul>
  <li>Über mich</li>
  <li>Portfolio</li>
  <li>Blog</li>
  <li>Kontakt</li>
</ul>

 

> back to the alphabetical list of elements

   

 

 

 

back to top