Kizspy | Question: 19
(Choose 1 answer)
FLUSTERI LOW LOW
Assume you have a page with four paragraph tags. What is the proper JavaScript code to change the content
of the second paragraph to "What does the Fox say?"
A. document.getElementById('second').innerHTML = "What does the Fox say?"
B. document.getElementsByTagName('p').innerHTML = "What does the Fox say?"
C. document.getElementsByTagName('p')[1].innerHTML = "What does the Fox say?"
D. document.getElementById('p')[2].innerHTML = "What does the Fox say?"
E. document.getElementByTagName('p')[2].innerHTML = "What does the Fox say?"