The HTML5 li Tag
If it is necessary to define a list item in the HTML document, the HTML5 <li> tag is used by the author. The HTML5 <li> tag is utilized in different ways because this is applicable for the ordered list or <ol>, unordered list or <ul> and menu list <menu>.
The HTML5 <li> tag is also supported by the common web browsers these days like the Internet Explorer, Safari, Google Chrome, Opera and Firefox. The HTML5 <li> tag is also compatible for both the Events Attributes and Global Attributes in HTML5.
Here is the attribute for the HTML5 <li> tag:
Attribute |
Value |
Description |
value |
number |
This is the key in determining the value of a list item. The succeeding list items will follow number specified by the author but this is only for <ol> lists |