clear html screen

Solutions on MaxInterview for clear html screen by the best coders in the world

showing results for - "clear html screen"
Vicente
10 Jul 2018
1<html>
2    <head></head>
3    <body>
4        <p>This should not appear</p>
5
6        <script type="text/javascript">
7            document.body.innerHTML = '';
8        </script>
9
10        <p>This should appear.</p>
11    </body>
12</html>
13