Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

CSS

CSS Background Properties - Part 1

Notes:

CSS Background Properties

CSS background-color property:
It is used to specify the background color for an html element
Values:
color name | hex color value | rgb(0-255,0-255,0-255) | rgba(0-255,0-255,0-255,0-1) | transparent

Interview Questions:

1. Which CSS property is used to set the background color ________
a. bg-color
b. background color
c. background-color
d. color
Answer: c