HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

li

Description

The li element for HTML represents a list item.

Syntax

HTML

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

Attributes

Global

NameValueDescription
valueintegerOrdinal value of the list item. Permitted only if the li element is a child of an ol element

CSS

li
{
    display: list-item;
}

Examples

1 · HTML

2 · value

3 · CSS

4 · JS