List item. The HTML <li> tag is used for specifying a list item in ordered, unordered, directory, and menu lists.

This element can be used in conjunction with the <ol>, <ul>, and <menu> elements.

Required Attributes

  • None.

Optional Attributes

Example

<ul>
	<li>First List Item</li>
	<li>Second List Item</li>
	<li>Third List Item</li>
</ul>

Changes in HTML5

  • None.

Related Tags