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




W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The HTML5 Certificate documents your knowledge of advanced HTML5.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The jQuery Certificate documents your knowledge of jQuery.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The ASP Certificate documents your knowledge of ASP, SQL, and ADO.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]