HTML | DOM write() Method
document.write( exp1, exp2, exp3, ... )
Parameters: This method contains many parameters which are optional. All the expression arguments (exp1, exp2, … ) can be listed and displayed in the order of occurrence.
Example 1: This simple example shows the use of document.write() method.
Example 2: This is another example that shows the use of the document.write() method.
Supported Browsers: The browser supported by the DOM write() method are listed below:
- Chrome 1
- Edge 12
- Internet Explorer 4
- Firefox 1
- Opera 3
- Safari 1
Please Login to comment...