Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Embedding JavaScript</title> </head> <body> <script> var greet = "Hello World!"; document.write(greet); // Prints: Hello World! </script> </body> </html>