december.com
/
html
|
Tutor
·
Demo
·
Specs
·
Techs
·
Books
|
search
Version
-//W3C//DTD XHTML 1.0 Strict//EN
Element
script
Purpose
script statements
Description
This is an element that contains a script language which enables a variety of interactive operations between the user and the document. See:
Scripts
.
Start tag
Required <script>
Attributes
Name
Type
Default
Comment
charset
CDATA
#IMPLIED
a character encoding as per
RFC2045
; char encoding of linked resource
defer
( defer )
#IMPLIED
UA may defer execution of script
id
ID
#IMPLIED
src
CDATA
#IMPLIED
Uniform Resource Identifier as per
RFC2396
; a Uniform Resource Locator (URL) is a URI; URI for an external script
type
CDATA
#REQUIRED
media type as per
RFC2045
; content type of script language
xml:space
( preserve )
#FIXED 'preserve'
Content
(
#PCDATA
)
End tag
Required </script>
Referenced in
a
abbr
acronym
address
b
bdo
big
blockquote
body
button
caption
cite
code
dd
del
dfn
div
dt
em
fieldset
form
h1
h2
h3
h4
h5
h6
head
i
ins
kbd
label
legend
li
map
noscript
object
p
pre
q
samp
small
span
strong
sub
sup
td
th
tt
var
Bookmark
·
Search
·
Market
2008-07-15 ·
John December
·
Contact
·
Terms of Use
©
December Communications, Inc.