Пример 2
<html>
<head>
<meta charset='utf-8'/>
<title>Пример 2</title>
</head>
<body>
<script language="javascript" type="text/javascript">
<!--
document.write("Здравствуйте!<br>")
var1 = 10
var2 = 20
document.write(var1)
document.write("<br>")
document.write(var2)
document.write("<br>")
//-->
</script>
</body>
</html>