VBScript is a Microsoft scripting language.
VBScript is a light version of Microsoft's programming language Visual Basic.
VBScript is the default scripting language in ASP (Active Server Pages).
VBScript on a Server
When VBScript is used with ASP, the statement response.write() produces output.
Click on the "Show Example" button to see how it works:
<%response.write("This is my first VBScript")%>
What is VBScript?
- VBScript is a scripting language
- A scripting language is a lightweight programming language
- VBScript is a light version of Microsoft's programming language Visual Basic
- VBScript is the default language in ASP (Active Server Pages)
VBScript in a Browser?
VBScript should be used as a server-side scripting language. It should not be used for scripting in a browser.
Learn by examples!
Because the scripts are executed on the server, you can not view the code in a browser. You will only see the output from ASP which is plain HTML.
At W3Schools every example displays the hidden ASP code. This will make it easier for you to understand how it works.
At W3Schools you will find a complete VBScript reference.