How do you change the background colour of a web page?
Published: July 6, 2009
Question:
How do you change the background colour of a web page?
Answer:
There are two methods for setting the background colour of a web page.
1) In the body tag.
Example:
<body bgcolor="red">
2) In the cascading style sheets or css.
Example:
<style type="text/css">
<!--
body {
background-color: red;
}
-->
</style>
About the Author
Rich Agnew is an author for The Computer Geek Custom Web Page Design. The Computer Geek is a web design company that prides itself in professional service at a fraction of the cost. The Computer Geek specializes in Custom Web Design, PHP & MySql and Ecommerce