The Slacker's Guide to HTML


[
advanced search]

Home
HTML
Basics
Text Tags and
Text Positioning
Images
Links
Forms
Tables
Frames
Adding Sound
Meta Tags
Horizontal Rules
Comment Tags
Tips & Tricks
HTML Tips
ASCII Codes
RGB Color Chart
Refreshing Pages
Viewing Source
CSS
Basics
Selectors
Properties
Values
Cursor Effects
Positioning Content
Measurement in CSS
Centering with CSS
Custom Form Buttons
CSS For Links
Javascript
Archive
Dynamic HTML
Archive
XHTML
Basics
Rules
Site Success Center
Site Promotion
Monetize Your Site
Extras
IE Vs. FireFox
Downloads
Myspace Comment




Horizontal Rules

The horizontal rule is used to separate content. It's a very simple basic tag which has a few choice attributes you can use to customize it. Let's take a look:

<hr size="4" width="50%" color="blue" align="center">
The basic tag is a paltry <hr>, which stands for horizontal rule. The above example includes the attributes for size, width, color and align. Each of those fur attributes has different options. Rules might be made to be broken but if you break these rules then they just won't work at all. So code correct.