Document JavaScript Tutorial

Syntax

document.write(value,....)
The write() method appends the comma-separated argument(s) (value) to the document as a string.
If any of the arguments are not strings, they are converted to strings before being appended to the document.


    
        Writing to a Document
    
    
        

Writing to a Document