document.write("<P>Script tags can be placed ")
document.write("in the Head of an HTML document.</P>")
write some text, considering of an HTML paragraph, into the Web page being loaded by the browser. The first statement writes the first half of the paragraph and the second writes the last half. A full description of the parts of these statements is provided later but the net effect is to make the text:
<P>Script tags can be placed in the Head of an HTML document.</P>
part of the HTML document.