PHP 

Scripts, Resources, Reviews

Rabu, 29 Juni 2011

Introduction to scripts




18.1 Introduction to scripts
A client-side script is a program that may accompany an HTML document or be embedded directly in it. The program executes on the client's machine when the document loads, or at some other time such as when a link is activated. HTML's support for scripts is independent of the scripting language.

Scripts offer authors a means to extend HTML documents in highly active and interactive ways. For example:

Scripts may be evaluated as a document loads to modify the contents of the document dynamically.
Scripts may accompany a form to process input as it is entered. Designers may dynamically fill out parts of a form based on the values of other fields. They may also ensure that input data conforms to predetermined ranges of values, that fields are mutually consistent, etc.
Scripts may be triggered by events that affect the document, such as loading, unloading, element focus, mouse movement, etc.
Scripts may be linked to form controls (e.g., buttons) to produce graphical user interface elements.

There are two types of scripts authors may attach to an HTML document:

Those that are executed one time when the document is loaded by the user agent. Scripts that appear within a SCRIPT element are executed when the document is loaded. For user agents that cannot or will not handle scripts, authors may include alternate content via the NOSCRIPT element.
Those that are executed every time a specific event occurs. These scripts may be assigned to a number of elements via the intrinsic event attributes.

Note. This specification includes more detailed information about scripting in sections on script macros.




Follow riodarmala on Twitter
free counters

0 Coments:

Posting Komentar

Trimakasih,
Telah berkunjung di riodarmala.blogspot.com
Jangan lupa tinggalkan comments.

SERVICE ONLINE

Area, Jakarta Raya
Lebih di Utamakan, Wilayah Jakarta Timur
Sdr. Rio
Specialist IT dan Consulting
Customer bisa melakukan SMS , Call, FB Inbox dan eMail ke di bawah ini, sesuai dengan keluhan dan Area, berikan alamat yang valid serta nama dan menyetujui aturan yang berlaku.
Pelayanan Pekerjaan Hari:
Sabtu / Minggu atau
di sesuaikan dengan perjanjian
Melayani Jasa Services dan Maintenance:
Installasi Server All Varian Brand, Manage and Deploy Server, Manage and Join Domain Client Server, Installasi OS plus Device Ready, Installasi Office Aplication, Installasi Office Multimedia, Installasi Modem ADSL dan Cable, Setting Network Internet dan Intranet, Backup and Restore Data Office, Clean Viruses, Trouble Shooting, Check Hardware Problem, Check Upgrade System, dll.

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes