0
HTML
What is the use of document.getElementById("demo").inner HTML?
3 Answers
+ 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