|
The word document.write is a standard Java Script command for writing the output to a page.
We start by taking control of the document object, and use its write() method to output some text to the document. The text inside the double quotes is called a String, and this string will be added to the page. Simple, right? To use an object's methods or properties, we write the object's name first, a dot, and then the method or property name.
|