<head></head><body> <input type='button' onclick='del(this)' value='del'> <script> function del(el) { document.body.removeChild(el) } </script> </body>