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

ol

Synopsis

<ol>...</ol>

Defines an ordered (numbered) list, which consists of list items (li). The browser or other user agent inserts item numbers automatically. The start and type attributes are deprecated in favor of CSS controls.

Attributes

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

compact

Deprecated. Displays the list as small as possible (not many browsers do anything with this attribute).

start=" number "

Deprecated. Starts the numbering of the list at number instead of at 1.

type="1|A|a|I|i"

Deprecated. Defines the numbering system for the list shown next.

Type value

Generated style

Sample sequence

1

Arabic numerals (default)

1, 2, 3, 4

A

Uppercase letters

A, B, C, D

a

Lowercase letters

a, b, c, d

I

Uppercase Roman numerals

I, II, III, IV

i

Lowercase Roman numerals

i, ii, iii, iv

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