源代码:
List item
This is a div element that is next to an ul element
This is a paragraph (not a div)
This is another div element (will not be selected)
List item
This is also a div element that is next to an ul element
This is another paragraph (not a div)
This is another div element (will not be selected)
运行结果: