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


Answer: D

Computer Science & Information Technology

You might also like to view...

Computer forensics analyzes computer systems in gathering potential legal evidence

Indicate whether the statement is true or false

Computer Science & Information Technology

Multiple objects inserted on a slide often ________ each other

A) are placed to the left of B) overlap C) replace D) are placed to the right of

Computer Science & Information Technology

In Access, which view allows you to enter or edit records, but not change the layout of the form?

A) Form B) Edit C) Preview D) Design

Computer Science & Information Technology

How do the three versions of the Simple Network Management Protocol differ?

What will be an ideal response?

Computer Science & Information Technology