Incorporating vbscript into htmlpage, Computer Engineering

Assignment Help:

To add scripts into your Web pages <SCRIPT>tag is used. The <SCRIPT>tag signifies the start of the script section, whereas </SCRIPT> marks the end. An example of this is demonstrated below:

<HTML>

<HEAD>

<TITLE>Working with VBScript</TITLE>

<SCRIPT LANGUAGE="VBScript">

<!--

MsgBox "Welcome to my Web page!"

-->

</SCRIPT>

LANGUAGE attribute of SCRIPT tag specifies language used for scripting. Scripts are generally placed at the top of the Web document, in HEAD. There are four places where you can use scripts:

  • In the body of page. In this case, output of the script is displayed, as part of HTML document, when browser loads the page.
  • In the header of page, between <HEAD>tags. Scripts in header aren't executed immediately, though can be referred to by other scripts. Header is generally used for functions-groups of VBScript statements which can be used as a group.
  • Within an HTML tag. This is called an event handler and allows script to work with HTML elements. Event handlers are one kind of script where you do not need to use <SCRIPT> tag.
  • In a separate file completely. Not all browsers support scripting languages. To handle these browsers you can enclose your script in comment tags (<!--and -->).

Related Discussions:- Incorporating vbscript into htmlpage

Register transfer micro-operations, Register Transfer Micro-operations ...

Register Transfer Micro-operations These micro-operations as the name proposes transfer information from one register to another. The information doesn't change during these mi

Explain cocomo model, A COCOMO model is :- COCOMO:- Constructive Cost Es...

A COCOMO model is :- COCOMO:- Constructive Cost Estimation Model.

How many chips will be required in a microprocessor , A microprocessor uses...

A microprocessor uses RAM chips of 1024 × 1 capacity. (i) How many chips will be required and how many address lines will be connected to provide capacity of 1024 bytes. (ii) How

State of the register, What is the state of the register in Figure  after e...

What is the state of the register in Figure  after every clock pulse if it begins in the 101001111000 state?

Instruction set and effective addressing techniques, The term addressing mo...

The term addressing mode is a technique of stating the input and output of an instruction; it is termed the effective address. There are 6 effective addresses in the 68HC11 set of

Database management system, what is time out based schemes in concurrency c...

what is time out based schemes in concurrency control

Vector-vector instructions-vector processing, Vector-Vector Instructions ...

Vector-Vector Instructions In this type, vector operands are fetched by the vector register and saved in another vector register. These instructions are indicated with the foll

Explain parameter passing in procedures, Q. Explain Parameter Passing in Pr...

Q. Explain Parameter Passing in Procedures? Parameter passing is a very vital concept in assembly language. It makes assembly procedures more general. Parameter can be passed t

What is microcomputer system, Q. What is microcomputer system? The micr...

Q. What is microcomputer system? The microcomputer has a single microprocessor and a number of RAM and ROM chips as well as an interface unit which communicates with several ex

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd