HTML <li> Element Reference

The HTML <li> element represents one item in an ordered, unordered, or menu list.

<li>

HTML <li> Element Reference

The HTML <li> element represents one item in an ordered, unordered, or menu list.

Categories

  • Grouping content

Tag omission

Consult the HTML Living Standard for the precise tag-omission rules.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical li element example.

<ul>
  <li>HTML</li>
  <li>CSS</li>
</ul>

Related references

Description

The HTML <li> element represents one item in an ordered, unordered, or menu list.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <li> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies