Section 8
ADDING DIVIDING LINES
     Now, on to adding dividing lines to split up your text.  There are
ways to add some really nice looking graphic dividing lines, but that
involves extra graphic files (and takes longer to download thru the
internet, and also more typing for the HTML code).  A quick (and short) way
to divide up your text is the Horizontal Rule <HR> tag (there is no </HR>
tag).  Just put in <HR> anywhwere you want a line across the screen.  If
you want a shorter line, you can add options for either Percentage of
screen width, or how many Pixels across this way:
<HR WIDTH="50%"> for half screen (50 Percent), or
<HR WIDTH="80"> for 80 Pixels across.
     Here is what these look like with the web browser you are using now:


     You can also change the thickness of the line (in Pixels) by adding
the Size option like this:
<HR SIZE="10"> to produce a line that is 10 Pixels thick.
     Here is what this looks like with the web browser you are using now:

     You should also note that the Horizontal Rule tag produces a line
Break after it.  So anything following it will start on a new line, and
you don't have to add a <BR> or <P> after it.  It's not fancy, but it
takes less typing than would be needed to add a graphic file, and does
not waste extra time waiting for the file to load either.
Information about adding Color to the Horizontal Rule is now available in my HTML Tutorial ADDENDUM.   It also explains many other items not fully covered in this Tutorial.   The ADDENDUM starts in Section 21.

[Previous Section] [Table of Contents] [Addendum] [Milt's Micro Digest Home Page] [Next Section]
The names Microsoft, Internet Explorer, Netscape, and others used in this document
are Trademarks, or Registered Trademarks of the companies represented.
E-mail questions, comments, or suggestions to: miltst@hotmail.com
© 1999 miltst@hotmail.com

Counter
(This page was last modified on: Monday, February 08, 1999)
1