WED201_-_TE2_-_SU_2023_677.webp
KimThoa89

WED201_-_TE2_-_SU_2023_677.webp

50 Answer
(Choose 1 answer)
Consider the code:
<body>
<div id="demo"></div>
<script>
document.getElementById("demo").innerHTML = "My First JavaScript";
</script>
</body>
What is the right option?
A. The div tag with id="demo" is visible.
B. The text "My First JavaScript" will be the inner-text in the body element
C. Create a p tag that is a child tag of the div element. Its innerHTML is "My First JavaScript"
D. The innerHTML of the div tag is "My First JavaScript"

Thông tin

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

Image metadata

Filename
WED201_-_TE2_-_SU_2023_677.webp
File size
54.1 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom