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