HTML and CSS Reference
In-Depth Information
Name
li
Synopsis
<li> . . . </li>
Defines an item in a list. It is used within the ol and ul list elements.
Usage
Categories:
None
Permitted contexts:
Inside ol , ul , and menu elements.
Permitted content:
Flow content
Start/end tags:
Required/Optional (XHTML: Required/Required)
Attributes
HTML5 Global Attributes
value=" number
number "
Specifies an item's number when the li is part of an ordered list ( ol ). The following list
items increase from the specified number.
Example
<ol>
<li> Preheat oven to 300. </li>
Search WWH ::




Custom Search