1 / 20

Assuming a page with four paragraph tags, what is the correct code to change the content of the second paragraph?

?

document.getElementsByTagName('p')[1].innerHTML = "What does the Fox say?"

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy