Name
<script>
Synopsis
<script> ... </script>
Define a script within the document.
Attributes
-
charset
=name
Specify the character set used to encode the script.
-
defer
Defer execution of this script.
-
language
=lang
Specify the language used to create the script.
-
src
=url
Specify the URL of an outside file containing the script to be loaded and run with the document.
-
type
=type
Specify the MIME type of the script.
See Chapter 10 for more information on JavaScript.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.