HTML li tag
HTML li stands for list item. <li> tag takes part in making lists. This tag can be used in ordered or unordered lists.
Tag Uses
Specific uses of <li> tagas ordered lists
Ordered lists are used where the order of items is necessary.
For example, the directions or instructions in a recipe where the sequence of instructions is necessary.
as unordered lists
The unordered lists are used where the order of items is not necessary.
For example, ingredients in a recipe.
Tag omission
The end tag (</li>) may be omitted.
Global Attributes
All the global attributes are applicable on li element.