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

Explain the resolution of an ADC, Explain the Resolution of an ADC. ...

Explain the Resolution of an ADC. Ans. Resolution- It  is  the  smallest  possible  change  in  input  voltage  the same as  the  fraction  of percentage of the full s

Dos function calls, INT 21H supports about 100 different functions. A funct...

INT 21H supports about 100 different functions. A function is recognised by putting the function number in AH register. For illustration if we want to call function number 01 then

write a ''c'' program to accept any 3 digit integer number, Write a 'C' pr...

Write a 'C' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number

C++, luminous jewels polishing game

luminous jewels polishing game

Array to be sorted is partitioned again and again, The sorting method where...

The sorting method where array to be sorted is partitioned again and again in such a way that all elements less than or equivalent to partitioning element appear before it and thos

Factors of information system which affect the business, Q. Factors of Info...

Q. Factors of Information system which affect the business? There are several factors which affect the business such as - a) Threats of fresh entrants. b) Rivalry surro

Show the process of message passing, Q. Show the process of message passing...

Q. Show the process of message passing? The subsequent issues are determined by system in process of message passing: 1)  Whether receiver is prepared to receive message

Describe one graphics and image editing tool, Question : Multimedia inv...

Question : Multimedia involves multiple modalities of text, audio, images, drawings, animation, and video (a) Describe three popular file formats for images (b) Most imag

What do you mean by true complement method, Q. What do you mean by True Com...

Q. What do you mean by True Complement Method? Explain in detail. Q. Show IEEE format for (12.75)10. Q. What are the various ways to represent Negative Numbers in computer sy

Pulse train, brief explanation on pulse train

brief explanation on pulse train

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