HTML - статьи

DL


Description

The DL element defines a definition list. Each item in the

list is expected to have two parts, identified by the

<DT> and <DD> elements.

Minimum Attributes

<DL></DL>

All Possible Attributes

<DL

COMPACT

LANG="..."

DIR=ltr|rtl

ID="..."

CLASS="..."



CLEAR=left|right|all|"...">

</DL>

Elements Allowed Within...

Allowed In Content Of...

Any element that permits members of group

Variations

The COMPACT attribute suggests rendering the list in

a physically compact way, but is not implemented by many browsers.

RFC 1866 suggests that the attribute be used if the list items are

small and/or the entire list is large, and may cause the elimination

of blank lines between DT/DD pairs.

The LANG and DIR attributes are introduced with the

internationalization proposal.

Version 3 proposes the CLEAR attribute.

To obtain a specific look, it has been the practice to construct

a DL with DD elements but empty or missing DT elements.

Missing DT elements violates the standard.

Version 3 proposes a new element as the

preferred alternative to achieve the effect desired.

All list elements are Level 0.



Содержание раздела