Version | W3C//DTD HTML 3.2 Final//EN
|
---|
Element | HR |
---|
Purpose | horizontal rule |
---|
Description | This element places a horizontal rule in the document.
Note that it is best to use horizontal rules sparingly--they can help you break up your document, but over-use can make a document appear cluttered.
|
---|
Start tag | Required <HR>
|
---|
Attributes | Name | Type | Default | Comment |
---|
align | ( left | right | center ) | #IMPLIED | horizontal alignment | noshade | ( noshade ) | #IMPLIED | use if you want a solid line rather than one with shading that appears etched into page | size | NUMBER | #IMPLIED | integer representing length in pixels; vertical size of line in pixels | width | CDATA | #IMPLIED | nn for pixels or nn% for percentage length; width of line in pixels or as a percent of available space
|
|
---|
Content | EMPTY
|
---|
End tag | Forbidden
|
---|
Referenced in | BLOCKQUOTE BODY CENTER DD DIR DIV FORM LI MENU TD TH
|
---|
Example | Source | Appearance |
---|
<hr>
And that is how Kelly came to play Henry the VIII in the play.
<hr noshade>
Intermission
<hr noshade size="10" width="33%" align="right">
In our next episode, we return to the park.
|
And that is how Kelly came to play Henry the VIII in the play.
Intermission
In our next episode, we return to the park.
|
|
---|