iLTC Home
Bookmark iLTC!

Categories

Perl
  • Perl Tutorials Beginners

  • Javascript
  • Javascript Tutorials
  • Javascript Tutorials Beginners

  • HTML
  • HTML Tutorials

  • Command Line
  • Command Line Tutorials

  • How Tos
  • Other Tips and Tricks



  • for(var i;i < 1000;i++) { }
    2210950

    iLoveTheCode.com

    HTML Body Tag

    <html>
    <head>
    <title>My Great Page</title>
    </head>
    <body>
    Page text goes here.
    </body>
    </html>


    NOTE: Most of the time, HTML syntax is simply this: for each opening tag there is a matching closing tag that begins with </

    These are the basic tags that every HTML page needs.
    -html
    -head
    -title
    -body

    The body tag follows the closing head tag.

    <body background=/images/hi.jpg bgcolor=blue bgproperties=fixed text=red link=blue alink=red vlink=green topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>

    Here are the body tag attributes and explanations:

    -background - This takes the path to an image. Full URL or relative path.
    -bgcolor - Can be standard color or hexidecimal with pound. Example: #FFFFCC
    -bgproperties - when set to fixed, background image will not scroll with page but will remain in place.
    -text - Text color on page. Can be standard color or hexidecimal with pound. Example: #FFFFCC
    -link - Link color on page. Can be standard color or hexidecimal with pound. Example: #FFFFCC
    -alink - Active Link color on page. Can be standard color or hexidecimal with pound. Example: #FFFFCC
    -vlink - Visited Link color on page. Can be standard color or hexidecimal with pound. Example: #FFFFCC
    -topmargin - Number of pixels from top. (Most Browsers)
    -leftmargin - Number of pixels from left. (Most Browsers)
    -marginheight - Number of pixels from top. (Netscape)
    -marginwidth - Number of pixels from left. (Netscape)


    NOTES: When setting margins, the most widely implemented two attributes are topmargin and leftmargin (supported in IE, Firefox, Safari). The other two attributes are old Netscape attributes and I don't know if they even apply anymore. Doesn't hurt to throw them in.



    Resources:
    HTML Tutorials
    HTML Title Tag
    HTML Underline Text
    HTML Color Codes
    HTML Font Code
    HTML New Paragraph
    HTML Tags
    HTML Tables
    HTML Italic Tex
    HTML Bold Text
    HTML Strikethrough Text
    The Classic BareBones Guide to HTML
    W3C's Official HTML 4.01 documentation

    Javascript Query String
    Javascript Tutorials
    HTML Tags
    Perl Tutorials
    HTML Codes





    Previous Article: HTML Title Tag
    Next Article: HTML Space






    Search iLTC w/ Google




    Recent Articles

  • HTML Font Code
  • Javascript and CSS - Easy Pop Up Help Balloons
  • Use OnMouseOver in Javascript
  • Use onMouseOut in Javascript
  • Use innerHTML to Change Text on a Page
  • Renaming a File with Perl's RENAME Function
  • PRINT to Browser with document.write Command in Javascript
  • Passing an Argument or Variable to a Javascript
  • Opening an Alert Box in Javascript
  • Opening a REMOTE WINDOW in Javascript
  • OPEN and WRITE a Data File in Perl
  • OPEN and READ a Data File in Perl
  • Mimic Typing from a Textfield in a Textarea with Javascript
  • Javascript Reset Form








  • Perl Programming - Javascript Programming - HTML Code - Mac Unix Command Line - Maybe Some PHP - Free Scripts - ILoveTheCode
    All Content © 2006-2009 iLoveTheCode.com


    Contact Chris | About this Site


    2210161
    Counter by iLoveTheCode.com


    Last Modified: Saturday, 10-Jan-2009 05:40:24 EST



    Hosted as well :)
    Home-brewed logo - 1997