Тег HR
HR
<HR
ALIGN=CENTER | LEFT | RIGHT
COLOR=color
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
NOSHADE
SIZE=string
STYLE=string
TITLE=string
event = script
>
Draws a horizontal rule.
- ALIGN=
- Displays the element left flush, right flush, or centered relative to the
display or table.
- COLOR=
- Set the color to be used by the font or horizontal rule.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- NOSHADE
- Draws the horizontal rule without 3-D shading.
- SIZE=
- Sets the height of the HR element in pixels.
- STYLE=
- Specifies an in-line style sheet for the tag.
- TITLE=
- The Title attribute is used to provide advisory information.
- event
- Can be one or more of these events:
onbeforeupdate onblur
onclick ondblclick
ondragstart onfocus
onhelp onkeydown
onkeypress onmousedown
onmousemove onmouseout
onmouseover onmouseup
onresize onrowenter
onrowexit
onselectstart
This element is a block element.
The start tag is required, and the end tag is optional.