diff --git a/questions.md b/questions.md index c37763b..2b736e6 100644 --- a/questions.md +++ b/questions.md @@ -22,8 +22,18 @@ ## 5. What CSS selector matches all the p elements inside the article element in the following HTML? - ```HTML + Here, we have two options. One could either do + + ```CSS article p {} ``` - This specifies all `

` elements inside the `

`, in contrast to `article > p {}` which would only specify `

` elements directly beneath the `

`. + which specifies all `

` elements inside the `

`. + + The other options would be + + ```CSS + article > p {} + ``` + + which would only specify `

` elements directly beneath the `

`. But since there are no `

` subchildren, both will work.