Home » CSS » Css miscellaneous » Question
  1. Which of the following selects all elements with a target attribute?
    1. attribute^=value
    2. attribute~=value
    3. attribute
    4. attribute=value
    5. None of these
Correct Option: C

attribute selects all elements with a target attribute, attribute=value selects all elements for the given target, attribute~=value selects all elements with a title attribute containing the given title, attribute=value selects all elements with a lang attribute value starting with the given lang.



Your comments will be displayed only after manual approval.