Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Usage

VBScript Usage


HTML the tags.

in

IE will interpret and execute the VBScript code between them.

| lamp | VBScript should not be used as a client-side scripting language!
Here, we use IE-only VBScript for learning purposes. | | --- | --- |


VBScript Output

When VBScript is used in an ASP page on a Web server, the statement response.write() produces the output.

When we use Internet Explorer to test VBScript, we use document.write() to produce the output:

Example (for Internet Explorer only)

Try it »

In the example above, the browser outputs "Hello World!" to the HTML page.