SQL PHP HTML JavaScript articles and free code If you are facing any problem in viewing this page, please tell us
 
 

HTML Background color in body tag in a page


What should be my background color code of any page? Background color code can be defined in the body tag of the html code. You can see the details of body tag at html code structure. The html code is


<body bgcolor=
"#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">



See the code bgcolor="#ffffff" in above body tag. This will make the body background color white as  #ffffff is he hex value of white color. Same way the hex value of any color can be placed in the body tag and the page color can be changed. To get the hex value of of any color you can use html color chat.  



Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
List of HTML Tutorial
HTML Tags
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.