 |
Customizing Horizontal Rules (Line
Dividers)
(Internet Explorer)
The horizontal
rule <HR>, also known as a line divider, is used to divide content
areas within a web page.
If
you're using line dividers (horizontal rules) within your web page, you can
change the color, width and height of the line dividers by adding some attributes
to your <HR> HTML code.
The
examples below show various styles of the HTML <HR> tag. They are displayed
in a table and the width attributes span the set percentage of the table.
When used without a table, the width will span the set percentage of the
entire web page.
|
<HR>
<HR WIDTH="50%" SIZE="3">
<HR WIDTH="50%"
SIZE="3" NOSHADE>
<HR WIDTH="75%"
COLOR="#FF0000"
SIZE="4">
<HR WIDTH="25%"
COLOR="#6699FF"
SIZE="6"> |
|
Edit
the text indicated in bold to suit your needs. |
|
|
|
Back
Submit
your HTML code snippets. We'll credit you and give you a link to your
website.
|