Multiple Choice
Which statement is true about the getElementByID() method?
A) It returns only the first element with the specified ID.
B) It returns an array containing all elements with the specified ID.
C) If a match is not found for the specified ID, it will attempt searching by name.
D) If a match is not found for the specified ID, it will attempt searching by tag name.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Consider the following message displayed in a
Q2: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q3: Which of the following is a browser
Q4: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q5: Which of the following is a practice
Q7: Which of the following will correctly modify
Q8: Which of the following comparison statements will
Q9: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q10: Which of the following will correctly declare
Q11: Consider the following code: var myString= "Hello