| Horizontal Lines |
| The unary tag <hr>, it simply causes the browser to draw a horizontal line across the "page". It is very simple but provides a good way to separate the sections of a file. |
| Syntax | Notes | Example |
|---|---|---|
| <hr> | Standard horizontal line | <hr> |
| <hr align=left|right|center> | Sets the alignment for the line. The default is center | <hr align=left
width=100> |
| <hr noshade> | When this option is used the line is simply a (gray) line. By default the line is made to appear recessed into the screen. | <hr noshade> |
| <hr size=num> | Size defines the line thickness. | <hr size=10> |
| <hr width=number|percent> | Width defines the width of the line(!!!), either in absolute terms (pixels) or as a percentage. | <hr width=100> |
| The various options listed above, can be used together, for example: |
<hr align=left noshade
size=10 width=50%> |
| produces: The end of the line (endcaps) cant be changed. On the version of Netscape that I use, the line has rounded ends. Whereas Internet Explorer displays "square" ends. |
Go to next section: Images or return to the Contents page. |
||
| Last Updated: 06 November 1998 | ||