I am learner to vbscripting and as a beginner trying to execute the below code. But I keep getting the compilation error [Please see error message below]. I am not sure as I do not see any error in the code. Also, I made sure that I type in all the text instead of copy-paste from web. Please do suggest.
Below is the code
<html>
<body>
<script language = "vbscript" type = "text/vbscript">
<document.write("Hello World!")
</script>
</body>
</html>
Error Message:
Script: C:\VB Script- Learning\Programmes\1.vbs
Line: 1
Char: 1
Error: Expected Statement
Code: 800A0400
Source: Microsoft VBScript compilation error
Thanks!
document.write("Hello World!")instead of<document.write("Hello World!")- TEK