I am a bit confused between these 2 selectors.
Does the descendent selector:
div p
select all p withi
p
div > p matches ps that have a div parent - in your question div p matches ps that have a div ancestor (parent, grandparent, great grandparent, etc.) - and in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
div > p
div
in your question div p matches ps that have a div ancestor (parent, grandparent, great grandparent, etc.) - and in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
in your question
div p matches ps that have a div ancestor (parent, grandparent, great grandparent, etc.) - and in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
and in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
and in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
in your question 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复