Figure 211 Program code embedded in a web page

The most popular client-side scripting language is JavaScript. JavaScript is code that's embedded in an HTML web page and runs within the client browser. It can utilize features of the browser, or even of the PC itself, that are not normally accessible from standard HTML code.

A common use for JavaScript code is to produce pop-up messages and dialog boxes that interact with the viewer. These are elements that HTML code can't generate. Figure 21-2 demonstrates how a web page embeds JavaScript and sends it to the client.

Was this article helpful?

0 0

Post a comment