WED201c_-_SP_2025_-_FE_3759.webp
M

WED201c_-_SP_2025_-_FE_3759.webp

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?"

Thông tin

Category
WED201c
Thêm bởi
minhduc94
Ngày thêm
Lượt xem
4,476
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom