HTML li Tag
HTML li Tag
The li tag defines a list item. It is used in an ordered list(ol), unordered list(ul), and menu tag. In ul and menu tags, the list item is displayed in the form of bullets by default while in the case of ol tag, the list item is displayed in the form of numbers by default.
Attribute Explanation:-
Attribute | Value | Description |
---|---|---|
value | number | Only for ol lists that specify start value of list item. |
Syntax:-
Its syntax is:- < li >