(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