HTML/CSS QUIZ

 

Results

#1. How do you add a background color for all &lt:h1> elements?

#2. How do you display a border like this: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?

#3. Where in an HTML document is the correct place to refer to an external style sheet?

Select all that apply:

#4. How do you make each word in a text start with a capital letter?

#5. Which CSS property controls the text size?

#6. Which CSS property is used to change the text color of an element?

#7. What is the correct CSS syntax for making all the

elements bold?

#8. Which property is used to change the left margin of an element?

Previous
Finish
 

Results

#1. What is the correct HTML for making a drop-down list?

#2. What is the correct HTML for making a text area?

Previous
Finish