HTML and CSS Reference
In-Depth Information
Name
ul
Synopsis
<ul> . . . </ul>
Defines an unordered list, in which the order of the list items (
li
) is not important. By default,
visual browsers display items in an unordered list with bullets. Lists may be formatted in any
fashion (including as horizontal navigation elements) using Cascading Style Sheet properties.
Usage
Categories:
Flow content; if it contains at least one
li
element, then palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
Zero or more
li
elements
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
<ul>
<li>About</li>
<li>Portfolio</li>
<li>Blog</li>