ul

The ul HTML element represents a list of items, where the order of the items is not important

Syntax

HTML

<ul attribute-name="attribute-value"></ul>

Attributes

Global

CSS

ul {
    display: block;
    list-style-type: disc;
    padding-start: 40px;
}

Examples

CSS

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu