Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> HTML >> Snippet

Set background color of page


<!--  Use hex color string to set bgcolor attribute of <body> tag  -->

< body bgcolor = "#FF0000" >

<!-- can also use color names supported by the browser.
the following list are W3C standards color names -->

aqua gray navy silver
black green olive teal 
blue lime purple white
fuchsia maroon red  yellow