The HTML5 li Tag

If it is necessary to define a list item in the HTML document, the HTML5 <li> tag is used by the author. The HTML5 <li> tag is utilized in different ways because this is applicable for the ordered list or <ol>, unordered list or <ul> and menu list <menu>.

The HTML5 <li> tag is also supported by the common web browsers these days like the Internet Explorer, Safari, Google Chrome, Opera and Firefox. The HTML5 <li> tag is also compatible for both the Events Attributes and Global Attributes in HTML5.

Here is the attribute for the HTML5 <li> tag:

Attribute

Value

Description

value

number

This is the key in determining the value of a list item. The succeeding list items will follow number specified by the author but this is only for <ol> lists

 

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …