• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 program may dynamically fill out parts of a form based on the values of other fields and ensure that fields are mutually consistent. Scripts may be triggered by events that affect the document, such as loading, unloading, element focus, or mouse movement. Scripts may be linked to form controls to produce graphical user interface elements. All of these can create accessibility barriers—but it doesn’t have to be that way!


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint