Vbscript

VBScript Placements

VBScript Placements

The affability of incorporating VBScript code into any HTML document is granted. However, VBScript in the HTML file is the preferable method of including it —

  • Text in <head>...</head> part.
  • Text in <body>...</body> part.
  • Text in <body>...</body> and <head>...</head> sections.
  • Text in the external file then include in <head>...</head> part.

When you start working more thoroughly with VBScript, there are cases where you reuse the same VBScript code over several pages on a site. In multiple HTML files, you do not have to keep the same code.A mechanism for saving VBScript in an external file is provided in the script tag and then added to the HTML file. You will need to write all of the VBScript source code into a single ".vbs"-extension text file to use VBScript from an external source file.

Top course recommendations for you

    Linux Tutorial
    2 hrs
    Beginner
    56.8K+ Learners
    4.47  (5605)
    Functions in Python
    1 hrs
    Beginner
    18.1K+ Learners
    4.46  (1136)
    GitHub Tutorial for Beginners
    2 hrs
    Beginner
    21.1K+ Learners
    4.44  (1481)
    Trees in Java
    2 hrs
    Beginner
    8.4K+ Learners
    4.54  (241)
    C for Beginners
    2 hrs
    Beginner
    162K+ Learners
    4.49  (16569)
    Binary Trees
    2 hrs
    Intermediate
    5.6K+ Learners
    4.6  (233)
    PowerPoint for Beginners
    2 hrs
    Beginner
    73.7K+ Learners
    4.53  (5236)
    UI / UX for Beginners
    1 hrs
    Beginner
    332.9K+ Learners
    4.53  (35435)
    Splunk Tutorial
    1 hrs
    Beginner
    4.2K+ Learners
    4.5  (331)
    Turbo C++
    1 hrs
    Beginner
    16.4K+ Learners
    4.41  (723)