User:Marioluvswii
From Homestar Runner Wiki
Learn HTML Code Tutorial Reference Guide
* HOME
* TUTORIAL ∇
o Applets
o Comments
o CSS
o Document Tags
o Embed
o Fonts
o Forms
o Frames
o Images
o Lines & Paragraphs
o Links
o Lists
o Logical Tags
o Scripts
o Sounds
o Symbols
o Tables
o Weird Tags
* FORUM ∇
o HTML Help
o Web Design
o Programming Languages
o Web Hosting
o Domain Names
o Marketing
o Community
* QUICK LIST
* CSS
Home >> Scripts previous page Scripts <SCRIPT TYPE="..."> next page <SCRIPT ...>
Usage Recommendation use it, but don't rely on it
* TYPE: Which scripting language to use * SRC: External source for script * DEFER: Continue loading page while downloading script
* LANGUAGE: Deprecated indicator of language * FOR: object for which this script is an event handler * EVENT: the event this script handles
<SCRIPT ...> designates a script section of the page. The contents of <SCRIPT ...> are run using the scripting language set by the rquired TYPE attribute. For example, the following <SCRIPT ...> sets a short JavaScript, by far the most common scripting language.
<SCRIPT TYPE="text/javascript"> </SCRIPT>
which outputs the current date and time: right now: Thu Oct 18 2007 20:17:11 GMT-0700 (Pacific Daylight Time)
It is a popular but inaccurate belief that the LANGUAGE attribute is required for <SCRIPT ...>. In fact, LANGUAGE has never been a required attribute and has not been the standard way to indicate scripting language for several years.
<SCRIPT ...> elements should always begin with , as in the example above. Home Laser Hair Remover Permanently remove unwanted hair. Safe, Easy & 100% Guaranteed! - SALE Memory problems? Learn to memorize entire books! Click here to get a free ebook! Hurry! Gas Saving Product Scams Most Just Don't Work. Discover A Proven Program That Uses Water As Gas Your Ad Here
previous page Scripts <SCRIPT TYPE="..."> next page
HOSTING / DESIGN $1.99 Domain Registration Cheap Web Hosting Website Templates MAKE MONEY Sell Domain Names Sell Website Templates
Home | Tutorials | Forum | Quick List | Link Directory | About Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial
