I am a bit confused between these 2 selectors.
Does the descendent selector:
div p
select all p withi
p
Yes, you are correct. div p will match the following example, but div > p will not.
div > p
The first one is called descendant selector and the second one is called child selector. 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
The first one is called descendant selector and the second one is called child selector.