Put Bars in My Website

Sponsored ADS  

  • Step 1

    Open an editable version of the page on your Web site where you to want to insertion a horizontal rule. You need be able to to publish the HTML code of the page.

  • Step 2

    Type this code where you to want a defect horizontal regulate to appear:
    <hr />

  • Step 3

    Save your changes. Reload the page to to confirm the horizontal regulate appears in the correct place.

  • Step 4

    Type this code to insertion a red horizontal rule:
    <hr style="color: red; background-color: red" />
    Change the color by replacement both references of "red" with a different color. You can too use hex codes (six-digit alphanumeric codes that stand for a specific color); use the W3Schools.com HTML Color Names diagram (see Resources) for this.

  • Step 5

    Type this code to change the cut and/or width of the horizontal rule:
    <hr style="width:400px; height:2px;" />
    Change "400" and "2" to the width/height characteristics for your horizontal rule. You can to specify percentages instead, like this:
    <hr style="width:80%; height:2px;" />

  • Step 6

    Combine model codes to to create a horizontal regulate -- a bar -- with a Habit color and size. For example:
    <hr style="color:pink; width:350px; height:4px;" />


  • Sponsored ADS
     

    I Erase My quot;Cquot; Drive | Create a Chart Graph | Make a Picture Into a Banner Ad | Remove Amazon Tracking Cookies | Convert Music to an MP3 Program for Free | Put an HD DVD on a Hard Drive | Convert WMA to Vob | Use Tamil Fonts in MS Word | Create a Remote Desktop Install Disk | Uninstall MYSQL on VistaConvert a PowerPoint File to MPEG2 Format | Burn Movies to DVD for an Xbox | Design Documents With a Word Processor | Reinstall Backweb | Use Cyberlink Power | Recover Missing MP3 Files | Add Extra Effects to Windows Movie Maker With Vista Tutorial 1 | Read a Viewsat Bin File | Flash 8 Blur Tutorial | Make Irish-Type Flyers Tickets | Change Eye Color in a Picture | Copy a Windows XP Registry From One Drive to Another | Delete Page Files in Windows 2000 | Burn an Audio CD Using Nero 12 | Convert a CD to MP3 With Nero