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

State and prove any one of the demorgen''s laws, Q. F(x,y,z) = ∑m (4,6,7,8...

Q. F(x,y,z) = ∑m (4,6,7,8)+ ∑d (2,5,11,12) Using K-Map. Q. State and prove any one of the DeMorgen's Laws. Show that these theorems can be extended up to any number of variabl

Explain the working of A/D converter, With the help of a neat diagram, expl...

With the help of a neat diagram, explain the working of a successive approximation A/D converter Ans: Successive Approximation ADC: It is the most broadly used A/D con

Explain about microprocessors, Q. Explain about Microprocessors? Microp...

Q. Explain about Microprocessors? Microprocessors have instruction sets ranging from 20 to several hundred instructions, known as microprograms, which are stored in ROM to init

Define bandwidth, Define Bandwidth? When transferring blocks of data, i...

Define Bandwidth? When transferring blocks of data, it is of interest to know how much time is required to transfer an entire block, as blocks can be variable in size it is use

We define our own match code id''s for sap matchcodes, Can we define our ow...

Can we define our own Match Code ID's for SAP Matchcodes? Yes, the number 0 to 9 are reserved for us to make our own Match Code Ids for a SAP described Matchcode object.

How does the internet work, Every computer connected to Internet has a uniq...

Every computer connected to Internet has a unique address. Let's just say your IP address is 1.2.3.4 and you want to send a message to computer with IP address 5.6.7.8. Message you

Artificial intelligence software, Artificial Intelligence Software A...

Artificial Intelligence Software Artificial Intelligence (AI) software employs non numerical algorithms to resolve complex problems that are not amenable to computation or s

Name some register output control signals, Name some register output contro...

Name some register output control signals. Pc out , MDR out , Z out , Offset out , R1 out , R2 out , R3 out and TEMP out .

Electrical technology, voltage,current and power relation in a delta connec...

voltage,current and power relation in a delta connection

Array user interface, You were offered bonus marks for separating the user ...

You were offered bonus marks for separating the user interface code from the main logic of your program. This design choice makes it very easy to replace the user interface without

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