Writing to a Document
|
|
Syntax |
document.write(value,....)
|
|
The write() method appends the comma-separated argument(s) (value) to the document as a string. |
If any of the arguments are not strings, they are converted to strings before being appended to the document. |
<HTML> <HEAD> <TITLE>Writing to a Document</TITLE> </HEAD>
<BODY> <H1>Writing to a Document</H1> <SCRIPT LANGUAGE="JavaScript"> <!-- document.write("Hello from JavaScript!") //--> </SCRIPT> </BODY> <HTML>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
|