<html>
<body>
<p>Click the button to create a DEL element.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
var x = document.createElement("DEL");
var t = document.createTextNode("Some deleted text");
x.appendChild(t);
document.body.appendChild(x);
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_del_create by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:11:31 GMT -->
</html>