Why #id selectors are used for?

16. Why #id selectors are used for?

  1. To select all elements having the id
  2. To select all elements without having the id
  3. To select all elements having the id within a specified <div>
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.