Show Output
<!DOCTYPE html> <html lang="en"> <head> <title>Adding JavaScript</title> <script> document.write("<h1>Hello World!</h1>") </script> </head> <body> <p>The above heading is inserted in this document by JavaScript.</p> </body> </html>