Home » CSS » Css miscellaneous » Question
  1. Which of the following selects every <a> element whose href attribute value contains the given substring?
    1. attribute^=value
    2. attribute|=value
    3. attribute$=value
    4. attribute*=value
    5. 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”.



Your comments will be displayed only after manual approval.