Contact Number
Email Address

li

li

Definition and Usage

the <li> tag is a block element used to designate a list item. The HTML <li> tag represents a list item in ordered and unordered lists , directory, and menu lists.

The <li> tag is placed inside either a <ol> tag or a <ul> to represent each individual item within that list.

Syntax

The <li> tag is written as <li></li> with the list item inserted between the start and end tags. The element must be placed inside either a <ol> tag or a <ul> tag to provide each individual list item within those elements.<ul> <li>List item... <ul> <li>List item...</li> <li>List item...</li> </ul>