Home and Blog button

Pages

Introduction

Welcome To my Blog !!
This is a blog where you can get some knowledge that i have learned and been using. Sharing is gaining pals. So Happy Sharing and don't forget to follow and link my blog with yours! Thanks.
Happy Programming!!

Tuesday, June 16, 2009

What is VBscript, Script?

Brief Introduction to VBScript!

  1. Vbscript is the scripting language.
  2. Scripting languages are such type of programming languages which is used to provide control in another host enviroment.
  3. Scripting Languages are interpreted not compiled. They can be embedded to the <head>..</head> section or the <body>..</body> section of the html tags.
  4. <head>..</head> section is prefered one because the head section gets interpreted first than the <body>..</body> section.Vbscript is the client-sided scripting languages which is the light version of VB and default scripting language of ASP.
  5. If you are the good vb programmer then you will not have difficulties in using the vbscript language in your web page.
Sample Vbscript Program:

<html>
   <head>
      <title> Title of Your page!</title>
      <script language = "vbscript">
         Sub welcome()
            Dim String
            String = "Hello"
            String = String & " world!"
            document.write(String)
         End Sub
      </script>
   </head>
   <body onload=welcome()>
      <h3>Use of vbscript in webpage! </h3>
   </body>
</html>

No comments:

Post a Comment

Search This Blog