CSS - CSS Background - CSS Background Color

Learn css - css tutorial - CSS Background Color - css examples - css programs
CSS Background color - Definition and Usage
- In css background color is to apply the background color of an element.
- Background color can be applied in different ways:
- Valid color name like "red"
- HEX value like "#ff0000"
- RGB value like "rgb(255,0,0)"

- Background Color is used to set the background color of an element like <p>, <h1>, <h2> and so on.
Sample coding - css html
Tryit<html>
<head>
<body>
<p style="background-color: green;">
Wikitechy Is the Best E-Learning Website.
</p>
</body>
</head>
</html>
click below button to copy the code. By - css tutorial - team
Code Explanation - style css

- Here “background-color: green;” is used to set green background color for the paragraph.
Code Output - css online

- Opening the html file, the web browser displays the paragraph “Wikitechy Is The Best E-Learning Website.” with its background as green color.
This page provides a detailed information on css stylesheet , css editor , css generator , css form , css3 tutorial , tutorial css , php css , css tools , html and css , css tags , css basics , css properties , css software , css layout , code css , css tutorial pdf , css version , online css editor , css online , css examples , compress css.