Are You a CSS Selector Pro?
3 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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?

  • 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?

  • 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)
  • More Like This

    Are You a CSS Background Pro?
    15 questions
    Are You a CSS Background Pro?
    3 questions
    Are You a Security Pro?
    9 questions
    Are You a Sukkah-Building Pro?
    10 questions
    Use Quizgecko on...
    Browser
    Browser