HTML and CSS Reference
Should the <script> tag be located in the <head> of the web page, you must make sure to place the
<h1>The date is
<input type=”text” name=”todaysDate” id=”todaysDate” disabled=”disabled” />
The HTML5 specification currently makes it possible for the <noscript> tag to
be placed in the <head> of the web page as well as the <body> . No browser has,
as of this writing, implemented this functionality, however.
Ja V V
built-in functions to debug your scripts when — not if — you run into problems with your code.
Choose Tools ➪ Internet Options. When the Internet Options dialog
opens, switch to the Security tab and click Custom Levels. In the Security Settings -
Internet Zone dialog box, scroll down to the Scripting section and, under Active scripting,
click Disable. Click OK once to close the Security Settings dialog and then again to close
Choose Edit ➪ Preferences on Windows or Firefox ➪ Preferences on the Mac.
When the Preferences dialog box opens, switch to the Content tab and uncheck the Enable
Choose Edit ➪ Preferences on Windows or Firefox ➪ Preferences on the Mac. In the
Preferences dialog box, switch to the Security category. Under the Web Content section,
on — and going wrong — with your code. You've seen the alert() function in action earlier: When