Podcast
Questions and Answers
What does the selector 'E[attr*=“str”]' select?
What does the selector 'E[attr*=“str”]' select?
- An E element whose 'attr' attribute is equal to 'str'
- An E element whose 'attr' attribute contains 'str' (correct)
- An E element whose 'attr' attribute ends with 'str'
- An E element whose 'attr' attribute begins with 'str'
What does the selector 'E:last-child' select?
What does the selector 'E:last-child' select?
- An E element, last sibling of its type
- An E element, first child of its parent
- An E element, first sibling of its type
- An E element, last child of its parent (correct)
What does the selector 'E:empty' select?
What does the selector 'E:empty' select?
- An E element that has an F child
- An E element that matches one of selectors s1,s2,..
- An E element that does not match selectors s1,s2,..
- An E element that has no children (correct)
Flashcards are hidden until you start studying