0
What is the correct JavaScript syntax to change the content of the HTML element below? <p id="demo">This is a demonstration.</p
3 Réponses
+ 2
demo.innerHTML ="Your New content"
+ 3
document.getElementById('demo').innerHTML = "I am changed content";
0
Hi Pro Dot ,Please don't put tags like this sword in your question description
Happy Coding!