HTML - статьи

HR


Description

The HR element produces a divider between sections of text.

Minimum Attributes

<HR>

All Possible Attributes

<HR

DIR=ltr|rtl

ALIGN=left|right|center|justify

ID="..."

CLASS="..."

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

SRC="..."

MD="..."



SIZE=number

WIDTH=number|percent

>

Elements Allowed Within...

The HR element is defined as having no content.

Allowed In Content Of...

Any element that permits members of group

Variations

RFC 1866 states that the HR element is typically rendered as

a full width horizontal rule or equivalent graphic.

The DIR attribute is introduced with the internationalization proposal

since DIR can have meaning

in those cases where the horizontal rule is not full width.

The internationalization proposal also includes

ALIGN=center|left|right|justify

The CLEAR, SRC, and MD attributes are proposed in Version 3.

SRC is proposed to specify a custom image for the rule.

Some browsers draw the line only within the current text margins

(which may be indented on left and/or right due to lists, etc.)

SIZE, WIDTH, ALIGN, and attributes are Netscape extensions,

but Netscape 2.0 only implements

ALIGN=center|left|right

The HR element is Level 0.



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