HTML | DOM writeln() Method
The writeln() method is used to write a document with additional property of newline character after each statement. This method is similar to the document.write() method.
document.writeln( exp1, exp2, exp3, ... )
Parameters: This method contain many parameters which is optional. All the expression arguments (exp1, exp2, …) can be listed and display with the order of occurrence.
Supported Browsers: The browser supported by writeln() method are listed below:
- Chrome 64
- Edge 12
- Internet Explorer 4
- Firefox 1
- Opera 51
- Safari 11
My Personal Notes arrow_drop_up
Please Login to comment...