Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

li

The <li> element is used to render a list item, and is only meant for use within the <ol>, <ul> and <menu> elements.

Code Example

<ol> <li>HTML Tutorials</li> <li>CSS Tutorials</li> <li>Javascript Tutorials</li> <li>PHP Tutorials</li> </ol> open in code editor

Attributes

globals - the global attributes common to all elements possible values: see global attribute list value - if list item is inside of an <ol> element, you can specify its ordinal value possible values: "integer"

Official Documentation

http://www.w3.org/TR/html/grouping-content.html#the-li-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr