<html>
<body>
<p id="demo">Click the button to delete my HTML content (innerHTML).</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "";
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_element_innerhtml_delete by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:03:59 GMT -->
</html>