Forum Moderators: open
<script>, as Javascript is the default scripting language. However the HTML specification requires that you define the mime type of the script. You have two versions, the older
language="Javascript" (only required for very old browsers), and the more usual type="text/javascript". The latter is required to pass validation.
The gist is that, in fact, we might as well leave out the type attribute entirely for the time being, since "text/javascript" is non-standard.
[edited by: Bernard_Marx at 11:12 am (utc) on June 18, 2007]