CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS background-color Property




CSS Background color Property use to set a element backgorund color.


Property Values


Properties Value Description
Syntax background-color:value;
value   #XXXXXX
  Color_Name
  transparent
  inherit
Allow to All Elements
Inherited No

Example-Code

<p style="background-color:orange;">This paragraph background color orange</p> 
Online Try This Code Your Self....   »

Example-Result

This paragraph background color orange