<li>

The list item element represents an item within an ordered, unordered, or menu list.

Since HTML 2.0 Spec ↗

Syntax

<li>...</li>

Examples

<ol>
  <li value="10">Ten</li>
  <li>Eleven</li>
</ol>
Output
Renders a numbered list where the first item shows 10 and the next continues at 11.

Notes

Inside <ol> the value attribute overrides the item number. <li> must be a child of <ul>, <ol>, or <menu>.

Browser & runtime support

EnvironmentSince version
chrome 1.0
firefox 1.0
safari 1.0
edge 12

See also