Home Menu

li

The li HTML element represents a list item.

Syntax

HTML

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

Attributes

Global

Name Value Description
value integer Ordinal value of the list item. Permitted only if the li element is a child of an ol element

CSS

li {
    display: list-item;
}

Examples

value

CSS

Web Hypertext Application Technology Working Group (WHATWG)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms