- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask9.html
More file actions
Latest commit
18 lines (15 loc) · 575 Bytes
/
Copy pathTask9.html
File metadata and controls
18 lines (15 loc) · 575 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<body>
<pre>
<scriptlang="JavaScript">
<!--
// One of the most practical aspects of JavaScript is the ability to output text and
// HTML into the browser output stream from within your scripts so that the
// text and HTML appears in the browser as if it were part of the actual HTML of
// the document. The key to this is document.write()
document.writeln('<strong>Hey Tejas...</strong>');
document.write(' Have a Nice Day!');// Because of writeln()
// -->
// document.writeln will not work if you skip pre tag
</script>
</pre>
</body>