Name

ul

Synopsis

<ul>...</ul>

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

Attributes

Core(id, class, style, title), Internationalization, Events

compact="compact"

Deprecated. Displays the list block as small as possible. Not many browsers support this attribute.

type="disc|circle|square"

Deprecated. Defines the shape of the bullets used for each list item.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.