Multiple Choice
When assigning an id to an HTML element,there is a corresponding JavaScript method called ____ that must be invoked for your JavaScript code to access it by id.
A) getElementByClass()
B) getElementByCode()
C) getElementByName()
D) getElementById()
Correct Answer:

Verified
Correct Answer:
Verified
Q31: Whenever you add JavaScript functions to a
Q32: MATCHING<br>Identify the letter of the choice that
Q33: If a JavaScript event occurs in one
Q34: MATCHING<br>Identify the letter of the choice that
Q35: You can define different style attributes in
Q37: FIGURE 10-1<br> <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB1853/.jpg" alt="FIGURE 10-1
Q38: Case 10-2<br>Peter is fixing some code written
Q39: The correct code to add hyperlink tags
Q40: MATCHING<br>Identify the letter of the choice that
Q41: Within a CSS,the style class is applied,by