About Lesson
document.write():-
आप simple text और testing purpose के लिए document.write() का इस्तेमाल कर सकते हो।
Syntax:- document.write( )
document.write():-
You can use document.write() for simple text and testing purpose.
Syntax:- document.write( )
Example:
document.write() example |
<!DOCTYPE html> <html> <body> <h1>document.write</h1> <p>how to display output in javascript</p> <script> document.write(5 + 9); </script> </body> </html> |