1.

Which of the following will select all elements within the class?(a) .class(b) #id(c) element(d) element>element

Answer» The correct option is (a) .class

For explanation I would say: .class selects all elements within the given class, #id selects the element within the given id, element>element selects all

elements where parent is

element, element selects all

elements.



Discussion

No Comment Found