Lists


You can organize text into a more structured outline by creating lists. Lists can be nested.

<dd>...</dd>

Usage

The definition description used in a <dl> (definition list) element.

Attributes

core, i18n, events.

Notes

Can contain block-level content, such as the <p> element.


<dl>...</dl>

Usage

Creates a definition list.

Attributes

core, i18n, events.

compact="compact" Deprecated. Compacts the displayed list.

Notes

Must contain at least one <dt> or <dd> element in any order.


<dt>...</dt>

Usage

The definition term (or label) used within a <dl> (definition list) element.

Attributes

core, i18n, events.

Notes

Must contain text (which can be modified by text markup elements).


<li>...</li>

Usage

Defines a list item within a list.

Attributes

core, i18n, events.

type="..." Changes the numbering style (1, a, A, i, I) in ordered lists, or the bullet style (disc, square, circle) in unordered lists.

value="..." Sets the numbering to the given integer beginning with the current list item.


<ol>...</ol>

Usage

Creates an ordered list.

Attributes

core, i18n, events.

start="..." Sets the starting number to the chosen integer.

Notes

Must contain at least one list item.


<ul>...</ul>

Usage

Creates an unordered list.

Attributes

core, i18n, events.

Notes

Must contain at least one list item.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net