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.