Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
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>

error: Content is protected !!