Multiple Choice
Which is the correct way to reference the href attribute of the element with the id value homeLink ?
A) document.getElementById("homeLink") .style.href
B) document.getElementById("homeLink") .attr.href
C) document.getElementById("homeLink") .attr("href")
D) document.getElementById("homeLink") .href
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: A set of connected nodes that are
Q22: The _ object represents a web browser
Q23: Which method returns all h1 elements in
Q24: The first h2 element in a web
Q25: Which results in a node that exists
Q27: What is the difference between the content
Q28: Each item in the DOM tree is
Q29: The objects in the BOM for any
Q30: The _ method is used to cancel
Q31: Can you use JavaScript access URLs contained