EDUCATION - HTML &
VB Script![]()
HTML
HTML stands for Hyper-Text Mark-up Language. All the web pages are designed with HTML. The web pages are plain text with embedded HTML tags. These tags define the formatting details for the document. The web pages (text with HTML tags) are viewed by a browser. The browser interprets the HTML tags and display the document. The two popular browsers are Microsoft Internet Explorer and Netscape Navigator.
There are various HTML editors available. These editors help in generating web documents without the knowledge of HTML. It is good idea to have some knowledge of HTML. This will help in minor tweaking of your web pages with commands that are not supported by the HTML editor.
The HTML primer document is available from the NCSA (National Center for Supercomputing Applications) web site.
![]()
VB Script
VB Script is a programming language. Web pages designed designed with HTML can also embed programs written in scripting languages like VB Script & Java Script. These languages are embedded in HTML document using <script> tag. The browser interprets these programs written in the scripting language. Some browsers may not support a particular scripting language. In that case the browser ignores the programs embedded in the HTML document.
There are certain benefits of scripting languages. The programs are part of HTML document and are downloaded to the user's computer. The programs are run on the user's computer and not at the server. This saves the computing time of the server. Certain tasks can be performed at the user's computer (e.g. checking the validity of data in a form).
A lot of web sites provide information and tutorials on HTML, VB Script and other programming languages. This site does use VB Script in a few pages. Feel free to use the VB Script programs from this site and adapt them for your needs.
Example: The example below uses Timer object, Label Object and VB Script. The program computes and displays number of days, Hours, Minutes and Seconds to "1 January 2000" or any other date selected by the user. The text box is used to get the date from user. The default is 1 Jan 2000. The command button is used to stop or start or recompute the data. The computation result is given in the second text box and also in the label object.
Best viewed with Internet Explorer!
![]()
Stop - Enter New Date - Recompute
![]()
Example: In this example, the VB Script performs number conversion from one scale of measurement to another.
![]()