Multiple Choice
Which method returns all h1 elements in a document?
A) getElementById("h1")
B) getElementsByTagName( "h1" )
C) getElementsByClassName( "h1" )
D) getElementsByName( "h1" )
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q18: Which method adds a node to a
Q19: Match each statement below with correct item
Q20: When you open a new web browser
Q21: A set of connected nodes that are
Q22: The _ object represents a web browser
Q24: The first h2 element in a web
Q25: Which results in a node that exists
Q26: Which is the correct way to reference
Q27: What is the difference between the content
Q28: Each item in the DOM tree is