Home Home -> HTML Reference -> Tag Reference - hr

Tag Reference - hr

Description

Attributes


align
Sets the alignment of the item.

class
The CSS style class to be applied to this tag. This could be used, for example, to create a style for "important" items, using a line in the style sheet as below:

.important { font-color: red }

This can be applied to the tag as follows:

<b class="important">This is important.</b>

color
Specifies the colour of the element, as either a named colour or a hexadecimal (#rrggbb) value.

id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.

noshade
Removes the 3D-shading from a horizontal rule, displaying it flat instead.

size
Sets the size of the font, as either a number from 1-7 or a relative value, +/-3. The actual point size depends on the browser.

style
Inline style-sheet information.

title
Advisory text for this tag - this could define an abbreviation or acronym, explain where a link goes or provide some other useful description.

width
Sets the width of the object.