background-color: ***;

  • IE
  • Cr
  • Sf
  • Fx
  • O

The background-color property specifies the background color of an element.

Applying this property to the BODY element applies the specified style to background of an entire page.

body {
background-color: gray;

Property Value Explanation
background-color color code or name the color of the background

The default is "transparent".


<title>TAG index</title>

<style type="text/css">

body {
background-color: #ffdab9;
color: #000000;




Example pagenew window