post your comment   print   send to a friend
Rate:   0% | Views:  86
Question categories:  Web Design

What is the Body of a web page?

In HTML, the "body tag" designates the main informational part of your message. It is the section of a web page that contains the text and graphics you see in a browser window.

Within the body tag, you specify what you would like your web page to look like to a viewer. Here is a body tag with several attributes: <BODY bgcolor="black" text="white" link="pink" alink="orange" vlink="green" background="image.gif">

bgcolor="color"

 

Changes the background color of your page. You can set this to any color you would like to use. Just replace color above with a color name or hex code. The default setting varies with your browser, but is usually white.

text="color"

 

Changes the default text color the browser will display on your page. You can set this to any color. Just replace color above with a color name or hex code. The default setting for text color is black.

link="color"

 

Changes the color of all of the non-visited links on your page. You can set this to any color you would like to use. Just replace color above with a color name or hex code. The default setting for a non-visited link is usually blue.

alink="color"

 

Changes the color of an active link on your page, which is a link that has just been clicked on by a user's mouse. You can set this to any color you would like to use. Just replace color above with a color name or hex code.

vlink="color"

 

Changes the color of a visited link on your page. You can set this to any color you would like to use. Just replace color above with a color name or hex code. The default setting for a visited link is usually violet.

background="image.gif"

 

Adds a background image to your page. If you use this attribute, the background image will replace any background color you have previously specified. If you don't use a background image, the browser will use your background color or its default background color.

Here are some common color names with hex codes and equivalent color:

Color Name

Hex Code

Color

black

#000000

 

white

#FFFFFF

 

red

#FF0000

 

blue

#0000FF

 

green

#008000

 

yellow

#FFFF00

 

orange

#FFA500

 

violet

#EE82EE

 

purple

#800080

 

pink

#FFC0CB

 

silver

#C0C0C0

 

gold

#FFD700

 

gray

#808080

 

aqua

#00FFFF

 

skyblue

#87CEEB

 

lightblue

#ADD8E6

 

fucsia

#FF00FF

 

khaki

#F0E68C

 
Customer Feedback
Rate:   0% | Views:  86 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Domain Name Registration | Web Hosting Services    Back to serch results
Browse the Base
Knowledge Base
Web Design
  Trellix SiteBuilder
  FrontPage
  Professional Design
  Do It Yourself
  WSC Website Builder
Messages
 

$75 Free Google AdWords

Free $75 Google AdWords when you sign up for WebImage! Target by location, create your own, or let Google create your ads for you. Check out http://www.aplus.net/google.html to see how AdWords works for you.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. What exactly is HTML?
 
2. What about Hypertext Markup Language?
 
3. What is Body Tag?
 
4. How to place Headings on your page and how to use the Font Tags?
 
5. What is a HYPERLINK?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest