Select from following answers:- document.GetElementById("demo").innerHTML = "DotNetFunda!";
- #Demo.innerHTML = "DotNetFunda!";
- document.getElementById("demo").innerHTML = "DotNetFunda!";

- #demo.innerHTML = "DotNetFunda!";
- All Above
document.GetElementById("demo").innerHTML = "DotNetFunda!"; is used change HTML content which is return in <p> element. It changes text which is in paragraph to return value in the syntax.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator