You insert Javascript inside tags. You do so, by the following:
Now, the language attribute is not strictly required for some browsers which can figure out what language you are using, and it is deprecated as well.
The type attribute is now what we are supposed to use although using either is really fine unless you're looking for spot on validation.
The comments are just there for the really old browsers that don't understand Javascript or the
Of course, you can also keep in mind the tags for people who have Javascript turned off.
Answers
tedjn
On 2006-08-01 14:40:47