By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

HTML Li Tag

Reference on the HTML Li Tag. Including its useful example, and a list of the allowed attributes.

Edited: 2014-12-28 06:28

The li element is used in combination with lists, either ul or ol, to create list items inside of the lists.

Attributes

Attribute:Value:Description:
AttrsOther AttributesCommon, I18n, Event

Example

<ul>
 <li>List Item<li>
 <li>List Item<li>
 <li>List Item<li>
</ul>