WED201_-_RE_-_FA_2023_1249.webp
Akaza2005

WED201_-_RE_-_FA_2023_1249.webp

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

Exit 47

Thông tin

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

Image metadata

Filename
WED201_-_RE_-_FA_2023_1249.webp
File size
55.3 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom