Q20.webp
Asta_boy1

Q20.webp

Kizspy | Question: 20
(Choose 1 answer)
FJOVERFLOW.COM
What is the correct JavaScript syntax to change the content of the HTML element below?
<p id="demo">This is a demonstration.</p>
A. document.getElementById("demo").innerHTML = "Hello World!";
B. #demo.innerHTML = "Hello World!";
C. document.getElement("p").innerHTML = "Hello World!";
D. document.getElementByName("p").innerHTML = "Hello World!";

Thông tin

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

Share this media

Back
Bên trên Bottom