Tutorials & Script Homepage
HTML/DHTML 43to49
Meta Tags & Search Engines
Creating Your Own Favicon
The <BODY> Tag
Structure of an HTML Ducument
The <button> tag
Image Maps in HTML
How to Use Marquees
advertisment
advertisement
advertisement
Host With Us: HostingHelper.co.uk From Only $5.00p/m
Spotted an Error ? Let us Know
100's more FREE templates at FreeWebTemplates
Looking for a new Web Host ?
Free templates from TemplatesLand
Professional High-End Templates
TemplateBox.com more FREE templates
Free Flash Templates and Intros
advertisement
 
HTML/DHTML TUTORIAL NUMBER : 45
Please Click Here, and Help Keep This Site FREE to Use
 
Please click on our sponsors advert to the right if you download or use anything from this page.
Thank you for your help.
This tutorial has been created by: iboost.com

The <BODY> Tag

In addition to being the container where the BODY of the document resides, you also define specific information for the look and feel of the page within the <BODY> tag. There are several attributes you can include. We will cover some of them.

Here are some attributes of the BODY tag:

ALINK - Defines the color of the link that is currently active.
VLINK - Defines the color of a link that has already been visited
LINK - Defines the color of a link that hasn't been visited yet.
TEXT - Defines the color of the text.
BGCOLOR - Defines the background color of the HTML document.
BACKGROUND - Points to the filename (URL) of an image to use as the background.
BGPROPERTIES - When set to 'FIXED', the background image will not scroll.
LEFTMARGIN - Sets the width of the left margin (pixels only)
TOPMARGIN - Sets the width of the top margin (pixels only)
 

Here is an example of an HTML document with some of the BODY attributes being used:

<HTML>
<HEAD>
<TITLE>My home page</TITLE>
<META NAME="Description" CONTENT="My name is Aaron and this is my home page. Come on by and see what I'm like.">
<META NAME="Keywords" CONTENT="home page, me">
</HEAD>
<BODY alink="white" vlink="brown" link="blue" text="black" bgcolor="yellow" leftmargin="10" topmargin="10">
My Home Page - I should be in Black.
<a href="1-3.htm">I am a visited link (brown) if you looked at the last sample page</a>
<a href="1-5.htm">I should be unvisited (blue) unless you've jumped ahead.</a>
<a href="1-4.htm">I should be the active link (white)</a>
I should be black and the background should be yellow.
</BODY>
</HTML>


I hope this came in useful!
Ask in the forum if you have any suggestions or comments.

This tutorial has been created by: iboost.com
Web Hosting  |  Membership website templates  |  Dallas Web Design  |  Text Link Adds  |  Art Web Templates  |  Cheap Flight Deals  |  Domain Name Hosting  |  Digital Camera  |  Coursework Writing  |   Youth hostels  |  Internet Marketing  |  Web Design  |  Low Cost Domain Names  |  Burial Life Insurance  |  Website templates  |  Broadband Reseller  |  Dedicated Server  |  Business Broadband  |  Professionelt webdesign firma - webbureau  |  ATX Web Design - Texas TX  |  Flash Templates  |   tablet notebook  |  Machinery moving Los Angeles  |  Flash Intros  |  Web Templates  |  epi suite software  |  Cheap Web Hosting  |  web hosting  |  Website Templates  |  Corporate Logo Design Service  |  ID card printers  |  id cards  |   Free Web Hosting  |  UK Web Hosting  |  Dating Software - aeDating 4.1  |  Flash Templates  |  Website Templates  |  Power Saver  |  Website Design Quote  |  Flash templates  |  cctv cameras  |  Web Design Manchester  |  Web Templates  |   Flash templates  |  Cheap Web Hosting Deal  |  Linux Hosting  |  Web Design uk  |  Web Hosting  |  Business web directory  |  Accept Credit Cards  |  Mobile Phone Contracts  |  Car Rental Deals  |  Free domain names  |  Business Email  |  Web Designer Delhi  |  video surveillance systems  |  

 
advertisment
advertisment
advertisment
advertisment
  Top-end templates
  Credit Cards
  Reseller web hosting UK
  free flash tutorials
  Web Hosting
  Hosting Directory
  Corporate Gifts
  Company Logos
  Christian Designs
  Website Templates
  Website Templates
  Web Hosting UK
  Free Web Templates
  Custom site design
  Domain Names
  Logo Design Pro UK
  Free Flash
  templatebox.com
  freewebtemplates.com
  templatesland.com
  topfreegraphics.com
  freegraphicland.com
  free-templates-layouts
  Ink & Toner Cartridges
  Layouts4Free
  Webmaster Resoucres
  Web Templates Factory
  Free Web Templates
  Free Templates Catalog
  Web Templates
  Reseller Web Hosting
  Stock Photography
  Animations-galore.com
  4print.com.au
  Host Review
  Web Hosting Host Color
  Dedicated Servers
  FlashTemplateDesign
  ZeroDollarTemplates
  Killersites.com
  how-to-build-websites
  Build a free website
  web Hosting
  Business Logo Design
  Templates Favpage
  webmastermind.de
  flasheasy.com
  More Featured Sites