HTML <li> Tag
<ul>
<li>Pomelo</li>
<li>Feijoa</li>
<li>Lychee</li>
</ul>
The above example demonstrates usage of the <li>
element.
The <li>
element represents a list item in a list. It can be used with the <ol>
and <ul>
elements to define each list item within those lists. It can also be used with the <menu>
element if that element's type
is in the toolbar
state (eg, type="toolbar"
)
The above example uses the <ul>
element, however, this could easily have been the <ol>
element (depending on the context of the list).