HTML and CSS Reference
Objective 4.6: Review
Correct answer: A
Correct: This is the correct syntax specifying the first paragraph child of the footer
element to have a smaller font.
Incorrect: The p.firstchild is not the correct syntax. It would need to be
Incorrect: The colon after the footer is not correct syntax.
Incorrect: The => notation is not the correct syntax.
Correct answer: B
Incorrect: Styles cannot be nested inside each other in this way.
Correct: It is correct to first specify the H1 style, then specify the H1 styles for
H1 elements that are beneath an article element.
Incorrect: This will make all H1 elements italic.
Incorrect: This will make all H1 elements italic as the comma after article creates a
list of elements to apply the styles to.
border: 2px solid black;
box-shadow: 5px 5px;