コードを編集:
結果を参照してください。 »
それを自分で試してみてください - ©
w3ii.com
What will $("div > span") select?
This div element has two direct child elements, p and span:
This is a paragraph.
This is a text inside a span.
This div element has one direct child element, p:
This is a paragraph.
This is a span element, inside the paragraph.