
Educators: Earn a free Gold upgrade by joining the PBwiki Back To School Challenge.
The hr tag is a way to place a horizontal rule into your document.
Adding *width="300"* before the backwards slash, makes your horizontal line only 100px wide.
Notice that the line is automatically aligned. You can change the alignment by adding the attribute, align="right" to make the bar align to the right, center for the center, and left for the left.
Now if you wanted to change the size of the rule, or make it thicker you could add the size attribute. size="7" will make the bar considerably thicker.
You can also change the color of that incredible little line by adding in either the number code for a color, or a color name. the color name will use the default color on the computer that is viewing the page. If you use a web-safe, or hexadecimal number code, you are guaranteed that the color will be the same on every web browser. color="#ff3399" will produce a hot pink line.
The final code (Without stars obviously) is <*hr width="300 px" align="right" size="7" color="#ff3399" */>
This tag can come in handy when you want to separate paragraphs in your body clearly, you can place a line!! yea.
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |