-
Which of the following selects every <a> element whose href attribute value contains the given substring?
-
- attribute^=value
- attribute|=value
- attribute$=value
- attribute*=value
- None of these
Correct Option: D
attribute*=value selects every <a> element whose href attribute value contains the given substring, attribute$=value selects every <a> element whose href attribute value ends with the given href, attribute^=value selects every <a> element element whose href attribute value begins with “https”.