Horizontal rule  - <HR>

Previous- HEAD - Head  |  Next-HTML - HTML

Description
Places a horizontal line across the page. You can control the alignment of the line, and its width and thickness with the ALIGN, WIDTH and SIZE attributes. The align attributes are now deprecated since HTML 4.0 and the STYLE attribute or stylesheets should be used instead.
Attributes
NameValuesDescription
aligncenter|left|rightAlignment
classclassnameClass of the element which is used to associate the element with a style sheet.
colorcolorColour
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
event_namescript_codeDefines script to run on event such as OnMouseOver
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
noshade
sizenumberFont size
srcurlSource filename
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
widthnumberWidth

Example
the code here <hr width=80% align=left noshade color="#ffcc00">produces a horizontal line which will split this text into two!
Will be displayed as :
the code here 
produces a horizontal line which will split this text into two!

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES NO YES YES NO NO

Previous- HEAD - Head  |  Next-HTML - HTML