IN BETWEEN THE LINES
Adding a line to break up a large amount of text or pictures on your website can make it easier to surf or navigate and more interesting. Lines use a stand alone tag called <HR>. You can use the <HR> tag by itself or make it more interesting with the following equations which are included inside the <HR> tag.
|
Name |
FUNCTION |
Example |
|
width |
The higher the value, the thicker the line will be |
width="95%" |
|
align |
positions the line at the left, centre or right of the webpage |
align=left align=center align=right |
|
color |
specifies the colour of the line |
color="#ff0000" (makes the line red) |
Here is the code for our webpage with a red line that is aligned to the right and has a 75% width:
<HTML>
And here is what the page looks like: