1
2
<html lang="en">
3
<head>
4
<title>JavaScript Output using print</title>
5
</head>
6
<body>
7
<h1>JavaScript Output</h1>
8
<p>JavaScript Output from CloseTag.com</p>
9
<script>
10
window.print();
11
</script>
12
</body>
13
</html>