Which method returns all elements in a document that match the selectorp figure img??

A. ?getElementsByTagName("p figure img")
B. ??getElementsByName("p figure img")
C. ?querySelector("p figure img")
D. ?querySelectorAll("p figure img")


Answer: D

Computer Science & Information Technology

You might also like to view...

What will the following code display?

int numbers[] = {99, 87, 66, 55, 101}; for (int i = 1; i < 4; i++) cout << numbers[i] << " "; a. 99 87 66 55 101 b. 87 66 55 101 c. 87 66 55 d. Nothing. This code has an error.

Computer Science & Information Technology

Which of the following objects is also known as user-defined objects?

A. Native objects B. Custom objects C. Host objects D. Base objects

Computer Science & Information Technology

While in break mode, you can examine the values in all variables that are within the scope of execution through the use of ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Find the area and perimeter of the triangle shown. The perimeter is __________ . The area is __________ .

What will be an ideal response?

Computer Science & Information Technology