Document.write in Javascript
document.write is used when you want that javascript writes something on the page.
example:
The basic code is :document.write("Your resolution is "+ screen.width +"x"+ screen.height +".<br>");
Note: This must be within javascript tags <SCRIPT LANGUAGE="JavaScript"></SCRIPT>document.write("text");