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

li

Description

The li HTML element represents a list item.

Syntax

HTML

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

Attributes

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 · value

2 · CSS

3 · JS

HomeMenu