100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 9 out of 32 pages.
COMP-1536 & ACIT-162008a - 2What Can Scripting DonAsking the browser to display informationnMaking the Web page different depending on the browser and browser featuresnMonitoring user events and specifying reactionsnGenerating HTML code for parts of the pagenModifying a page in response to eventsnValidating user inputnReplacing and updating parts of a pagenDynamically changing the style and position of displayed elements
Simple Program: Printing a Line of Text in a Web Page nInline scriptingnWritten in the <body> of a documentn<script> tag•Indicate that the text is part of a script•type attribute•Specifies the type of file and the scripting language use•writeln method•Write a line in the document•Escape character ( \ )•
You've reached the end of your free preview.
Want to read all 32 pages?
Web page, Equals sign, relational operator, DOCTYPE html PUBLIC