VBScript Basics
VBScript Basics
Advertisements
Previous Page
Next Page
In the above example, we called a function document.write, which writes a string into the HTML
document. This function can be used to write text, HTML or both. So, above code will display
following result:
Hello World!
Formatting
VBScript is based on Microsoft's Visual Basic. Unlike JavaScript, no statement terminators such
as semicolon is used to terminate a particular statement.
var1 = 10 : var2 = 20
</script>