Specify the background color of a full page using CSS

Explanation

To specify the background color of a full page using CSS, specify color name or color code for background-color property. You can also specify in block colors and etc. using the background property.

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
<style type="text/css"><!--
body {
background-color:#f89;
}
--></style>
</head>
<body>
<h1>Sample</h1>
<p>
You can specify the background color of a page using CSS.
</p>
</body>
</html>