Vidyalelo
CSS · Q26

CSS Selectors and CSS Files

Programming · CSS · question 26

Q26

Which of the following selectors selects the specified elements of type E with a particular class value?

A.
E.class
Answer
B.
E ~ F
C.
*
D.
E, F, G

Answer: Option A

Solution

Answer: Option A
Solution:
Example: h1.note {text-decoration: underline;}
/* underlines all h1 tags with class='note' */