HTML & CSS · Junior · Question 65 of 75

Which element does h2 + p select?

Explanation

+ is the adjacent sibling combinator. h2 ~ p (general sibling) matches all following <p> siblings, not just the first.

Further reading

Problem with a question

HTML & CSS · Junior · question 65

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz