I'm trying to see what document.write does
Here's my piece of code
<!DOCTYPE HTML> <html> <head> <link rel="stylesheet" type="text/css" href="cssfile.css"> <title>My Page</title> </head <body> <script> document.write("<p>abc</p>"); </script> <p id="first">first</p> <a href="second.html">second</a> </body> </html>
However, when I see the results it doesn't show the text.
What seems to be the problem?