Q43.webp
Văn Khang

Q43.webp

Kizspy | Question: 43
(Choose 1 answer)
What statement do you insert the 4th line to change content of the p tag?
<head>
<script>
1
function demo()
2.
var tag=document.getElementById("txt");
4.
5. }
</script>
</head>
<body onload="demo()">
<p id="txt"></p>
</body>
A. tag="hello world"
B. tag.content="hello world"
C. tag.innerHTML="hello world"
D. tag.value="hello world"

Thông tin

Category
WED201c
Thêm bởi
Văn Khang
Ngày thêm
Lượt xem
1,076
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom