About JavaScript


Why JavaScript

As mentioned earlier, HTML was not intended to control the appearance of pages in a Web browser. At that time, Web pages were static, that is, they couldn�t change after they were rendered by the browser. However, once the Web grew beyond a small academic and scientific community, people began to recognize that greater interactivity and better visual design would make the Web more useful. As commercial applications of the Web grew, the demand for more interactive and visually appealing Web sites also grew. The biggest challenge in meeting this demand was that HTML and XHTML could only be used to produce static documents. You can think of a static Web page written using HTML or XHTML as being approximately equivalent to a document created in a wordprocessing or desktop publishing program; the only thing you can do with it is view it or print it.Thus, to respond to the demand for greater interactivity, an entirely new Web programming language was needed. Netscape filled this need by developing JavaScript.

When it comes to Web development, the term scripting language refers to any type of language that is capable of programmatically controlling a Web page or returning some sort of response to a Web browser. It�s important to note that although the term scripting language originally referred to simple programming languages, today�s Web-based scripting languages are anything but simple.

The part of a browser that executes scripting language code is called the browser�s scripting engine. (A scripting engine is just one kind of interpreter, with the term interpreter referring generally to any program that executes scripting language code.) When a scripting engine loads a Web page, it interprets any programs written in scripting languages, such as JavaScript. A Web browser that contains a scripting engine is called a scripting host. Internet Explorer and Netscape are examples of scripting hosts that can run JavaScript programs.


What is JavaScript?


What can a JavaScript Do?

Hosted by www.Geocities.ws

1