Tag HR

Description
Draws a horizontal line, the form of which depends on the used parameters and browser. Tag <HR> is a block element, the line is always started with a new line, and after it all the elements are in the next line.
<hr />
Parametrs
Align defines alignment of the line
Color colour of the line
Noshade draws a line without 3D effects
Size line weight
Width line width
Closing Tag
Is not required
The Description of Tag <HR> Parameters
ALIGN Parameter
Description
Line alignment at the edge of parent element. The browser window is used as a parent usually.
<hr />
Arguments
left left alignment
center center alignment
right right alignment
Default value
center
Analogue CSS.
COLOR Parameters
Description
Defines the colour of the line in Internet Explorer. The use of this parameter disables 3D effects, as if NOSHADE parameter had been added. In the other cases COLOR parameter is ignored.
<hr />
Arguments
There are two ways to define the colour of the line: the first one uses denotations of colours in hexadecimal code, and the second way is realized by the titles of some colours.
Default value
No
NOSHADE Parameter
Description
The use of NOSHADE parameter cancels 3D effects, which are used while drawing by default.
<hr noshade="noshade" />
Arguments
No
Default value
This parameter is disabled by default.
SIZE Parameter
Description
Defines the line weight in pixels.
<hr size="number" />
Arguments
Any positive integer. Zero or negative value defines the line weight in one pixel.
Default value
2
WIDTH Parameter
Defines the line width in percents or pixels. The browser windows is used as a parent as a rule.
<hr />
Arguments
Any acceptable value in pixels or percents.
Default value
100%
Analogue CSS
width
File upload form
Form software
HTML forms
PHP contact form