HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>document.write() implicitly handles document.open() and document.close()</p> <script> document.open(); document.write("<h1>This is heading</h1>"); document.close(); </script> </body> </html>
OUTPUT
×

Save as Private