Search w3schools.com:

SHARE THIS PAGE

VBScript Tutorial


VBScript

VBScript is a Microsoft scripting language.

VBScript is the default scripting language in ASP (Active Server Pages).

You can experiment with VBScript in Internet Explorer.

VBScript Editor

VBScript is a scripting language. However, it should not be used for scripting in the browser.

Internet Explorer supports VBScript. This allows us to experiment with VBScript in the browser, without the need for a web server. With our online editor, you can edit the VBScript code, and click on a button to view the result:

Example (Internet Explorer Only)

<html>
<body>

<script type="text/vbscript">
document.write("This is my first VBScript!")
</script>

</body>
</html>

Try it yourself »

Click on the "Try it Yourself" button to see how it works.

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 Examples

Learn by examples! With our editor, you can edit the source code, and click on a test button to view the result.

Try-it-Yourself!


VBScript Reference

At W3Schools you will find a complete VBScript reference.

VBScript Reference



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]