What is the name of the li element?

The <li> element is called the ‘list item’ element in HTML.

It is used to define an item in a list, and it can be utilized within ordered lists (<ol>) or unordered lists (<ul>). Each <li> tag represents a single item within these lists.

For example, if you have an unordered list of fruits, it might look like this:

<ul>
    <li>Apple</li>
    <li>Banana</li>
    <li>Cherry</li>
</ul>

This will create a bullet-point list of fruits, with ‘Apple’, ‘Banana’, and ‘Cherry’ each listed as separate items.

More Related Questions