Skip to Content
Web Design in a Nutshell, 3rd Edition
book

Web Design in a Nutshell, 3rd Edition

by Jennifer Robbins
February 2006
Intermediate to advanced
826 pages
63h 42m
English
O'Reilly Media, Inc.
Content preview from Web Design in a Nutshell, 3rd Edition

Name

li

Synopsis

<li>...</li>

Defines an item in a list. It is used within the ol, ul, menu (deprecated), and dir (deprecated) list elements.

Attributes

Core(id, class, style, title), Internationalization, Events

type=" format "

Deprecated. Changes the format of the automatically generated numbers or bullets for list items.

Within unordered lists (ul), the type attribute can be used to specify the bullet style (disc, circle, or square) for a particular list item.

Within ordered lists (ol), the type attribute specifies the numbering style (see options under the ol listing) for a particular list item.

start=" number "

Nonstandard. Within ordered lists, you can specify the first number in the number sequence. In the (X)HTML Recommendation, the start attribute applies to the ol element, not the li.

value=" number "

Deprecated. Within ordered lists, you can specify the number of an item. Following list items increase from the specified number.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Responsive Web Design with HTML5 and CSS3

Beginning Responsive Web Design with HTML5 and CSS3

Jonathan Fielding

Publisher Resources

ISBN: 0596009879Errata Page