0
HTML
What is the use of document.getElementById("demo").inner HTML?
3 Respostas
+ 3
This means you will select one element (ID is unique) with id="demo" and you’ll get the content.
For example:
If the element is:
<ul id="demo">
<li>List item</li>
</ul>
You’ll get <li>List item</li> as string
Note: this is JavaScript.
+ 1
You are welcome 😊
0
Thanks man