Which of the following selects all elements with a target attribute?

Which of the following selects all elements with a target attribute?
A. attribute
B. attribute=value
C. attribute~=value
D. attribute^=value
 
Answer: a
Explanation: attribute selects all elements with a target attribute, attribute=value selects all elements for the given target, attribute~=value selects all elements with a title attribute containing the given title, attribute=value selects all elements with a lang attribute value starting with the given lang.
 

Tìm kiếm

Back
Top