Writing text: Here we are using the Javascript document.write(); function to insert some text and code into our HTML.
Notes:
document.write(); function inserts text and HTML/CSS code into the page.
<-- Insert some text and code into our HTML page -->
<script>
document.write("<p>Hello world!</p>");
</script>