-
Which of the following selects all elements with a target attribute?
-
- attribute^=value
- attribute~=value
- attribute
- attribute=value
- 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.