Description:

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

Example Code:
<ul>
  <li>Mouse</li>
  <li>Cat</li>
  <li>Dog</li>
</ul>
Result:
  • Mouse
  • Cat
  • Dog
Attributes:
Attribute Definition
type Specifies the type of bullet. Possible values:
  • A
  • a
  • I
  • i
  • 1
  • disc
  • square
  • circle
-Deprecated- Use CSS Instead
value Specifies the number of the current list item.
-Deprecated-
Global Attributes:

The <li> tag also supports the Global Attributes in HTML5

Event Attributes:

The <li> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.