Home »
MCQs »
jQuery MCQs
Why #id selectors are used for?
16. Why #id selectors are used for?
- To select all elements having the id
- To select all elements without having the id
- To select all elements having the id within a specified <div>
- To select all elements having the id within a specified section.
Answer: C) To select all elements having the id within a specified <div>
Explanation:
The #id selectors are used to select all elements having the id.