The background-color style property

08 April 2019

The background-color property defines the background color. This can be done using rgbt selecting, or html colors, which include simple color names. This is how I would set it out if I wanted to have a green background:

 <style> body {  background-color: green; } </style> 
Once you have learnt how to set a picture as a background these colors may seem less appealing, but bear in mind colors will always show your text properly, a luxury some pictures do not hold! If you wanted to have the font property and the background color property at the same time you would do this :
  
<style> 
body {  
background-color: green;
font-family: georgia; 
} 
</style> 
You can just add more items/properties to the list.
NEXT POST →

Any Questions?

Any Questions?