This Season
 

How to Add a Horizontal Line to a Web Page

Horizontal lines add emphasis and separate sections on a Web page. If you wanted to section off certain parts of your site, you can simply do so by using a simple html code. Horizontal lines are beneficial since they load faster than images. Read more to find out how you can add this code to your Web page.

Related Searches:
    Difficulty:
    Easy

    Instructions

    Things You'll Need

    • Text-editing program
      • 1

        Open a text-editing program, such as Notepad or EditPad.

      • 2

        Select Open from the File menu. Locate the Web page file and click Open.

      • 3

        Place the cursor where you want the horizontal line to appear.

      • 4

        Type the following:


        . This inserts a horizontal line. If you want to add attributes to your horizontal line, all you have to do is add the words color, width, align, or no shade after the
        . You can align your horizontal line by typing RIGHT, LEFT or CENTER.

      • 5

        Select Save from the file menu.

      • 6

        Open a Web browser and select Open from the File menu.

      • 7

        Locate the Web page and select Open to view it in the Web browser.

    Tips & Warnings

    • Change the thickness of the line by adding the following, using any number:


      The higher the number, the thicker the line.

    Related Searches

    Read Next:

    Comments

    • atnonis Mar 06, 2009
      aaargh fock it, stupid site :P
    • atnonis Mar 06, 2009
      aaargh fock it, stupid site :P
    • atnonis Mar 06, 2009
      $lt;hr$gt; replace $ with
    • atnonis Mar 06, 2009
      $lt;hr$gt; replace $ with
    • atnonis Mar 06, 2009
      $lt;hr

    You May Also Like

    Follow eHow

    Related Ads