HTML <li> Tag


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).