1.

Which of the following selects every element whose href attribute value contains the given substring?(a) attribute$=value(b) attribute*=value(c) attribute^=value(d) attribute|=valueThe question was posed to me in exam.I would like to ask this question from Server Specific CSS in division Layout & Images of CSS

Answer»

Right option is (b) attribute*=VALUE

To explain I would say: attribute*=value SELECTS every element whose HREF attribute value contains the given substring, attribute$=value selects every element whose href attribute value ENDS with the given href, attribute^=value selects every element element whose href attribute value begins with “https”.



Discussion

No Comment Found

Related InterviewSolutions