A quick look at the example of document.write() program.
<script> document.write("Hello Test!"); </script>
The above example prints the text "Hello Test!" on the browser