Beginner's Beginner Tutorial: VBScript Introduction

Source: Internet
Author: User
Tags insert microsoft iis

Before you learn VBScript, you should have the knowledge of HTML and CSS to ensure that you can write your Web pages skillfully.

Introduction to VBScript

VBScript is a scripting language that can be used for Microsoft IE Browser client script and server-side scripting for Microsoft IIS (Internet information Service).

VBScript is a member of the Visual Basic family of Microsoft programming languages. If you are familiar with Microsoft's Visual Basic or Visual Basic for Applications, you'll soon be familiar with VBScript.

Simple VBScript Getting Started sample

Now we're going to write a simple example of VBScript.

The following are the referenced contents:
<body>
<p> you will see a message box that pops up after this line of text is displayed. </p>
<script type= "Text/vbscript" >
MsgBox ("hello,world!")
</script>
</body>
VBScript "represents the insert <script></script> where is a VBScript statement?

Insert a Vbsscript statement in a Web page, use <script>. <script> This tag has an attribute called type,type= "Text/vbscript", which indicates that the insert <script></script> is a VBScript statement.

<script type= "Text/vbscript" >

</script>

When referring to other people's VBScript code, you may see that <script> is not type= "Text/vbscript", but Language= "VBScript". Both of these methods can now indicate that the code in <script></script> is VBScript. The language attribute is no longer recommended for use in the HTML standard of the consortium.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.