SCRIPTS
Server-side scripts, such as Common Gateway Interface (CGI), are run on the Web server and triggered by a request from the browser. Client-side scripts, such as JavaScript, create programs that may accompany an HTML document or be embedded directly in it. Client-side scripts often run on the user machine when the document loads. A script may also run at other times, such as when a user selects a link. HTML support for scripts is independent of the scripting language, which allows Web authors to extend HTML documents in highly active and interactive ways.
For example, scripts may be evaluated as a document loads to dynamically modify the contents of a document. Scripts may accompany a form to process input as it is entered. A scripted ...
Get Maximum Accessibility: Making Your Web Site More Usable for Everyone now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.