Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Example</title>
- </head>
- <body onload="runFunction()">
- <h1>Welcome to my webpage!</h1>
- <script>
- function runFunction() {
- window.close();
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement