webmaster resources tips and articles
webmaster information

Path = Home : HTML Design Tips : Set Parameters Within the BODY Tag

How To Set Parameters Within The <body> Tag

 

The <body> tag come just after the </head> tag within your HTML document (web page). The contents of your web page is displayed between the <body></body> tags. This includes everything that will be displayed when when your page viewed in a web browser.

You can set parameters within the <body> tag that will be used throughout your web page. It isn't necessary to set these parameters, as there is a default setting, but if you'd like your page to be displayed with colors other than the default, you can do it.

Note that this can also be done using cascading style sheets (CSS).

Setting the text color

<body text="#FFFFFF">

 

Setting the background color

<body bgcolor="#FFFFFF">

 

Using an image for a background

<body background="image.gif">

 

Setting the colors for links

<body link="#0000FF" vlink="#FF00FF" alink="#FF0000">

"link" is the color of a link before it is selected.
"vlink" is the color of a link that has been visited.
"alink" is the color of a link that is curently selected (active).

 

 

© janim.net 2000 - 2007 All rights reserved