Unit 3 - Module 2
Black by definition has no color; its hex triplet code is which of the following?
#000000
White by definition has no color; its hex triplet code is which of the following?
#FFFFFF
How do you add a comment to your CSS code?
/* this is a comment */
Which property is used to change the background color in CSS?
background-color
Which of the following uses correct CSS syntax?
body {color: black}
Which property is used to change the color of text in CSS?
color
How do you set the background color for <h1> elements?
h1 { background-color: #FF0000 }
If FF represent the highest value of a particular color and 00 represents the lowest value of a color, what color will this hex triplet code produce: #FF0000?
red
The hex triplet is a six-digit number, where each pair of digits represents (in order) the value of— red, yellow, blue
red, green, blue