home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
HTML Reference >
Suggested Reading

Language declarations


tag/attrib/value description
!DOCTYPE 2 -   -   - - - Document type declaration
HTML PUBLIC "-//IETF//DTD HTML [2.0] [Level 2]//EN" 2 -   -   - - - HTML 2.0 Document type
HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" - -   -   - - - HTML 3.0 Document type
HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN" 3.2 -   -   - - - HTML 3.2 Document type
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" 4 -   -   - - - HTML 4.0 Strict Document type
HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" 4 -   -   - - - HTML 4.0 Transistional Document type
HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd" 4 -   -   - - - HTML 4.0 Frameset Document type
html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"                 XHTML 1.0 Strict Document type
html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"                 XHTML 1.0 Transistional Document type
html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"                 XHTML 1.0 Frameset Document type
html PUBLIC "-//W3C//DTD XHTML 1.1//EN"                 XHTML 1.1 Document type
html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/DTD/wml20.dtd                 WML 2.0 Document type
HTML 2 1   1   2 x   HTML container
version = string 2 - - -   - -   HTML version
XMLNS[:strPrefix] [= uri] - 5.0 - -   - -   XML Namespace Prefix
SCRIPT 4 3   1   3 x   Script container
archive = uri - - - 4   - -   Link to archived script file
charset = string 4 -   -   - -   Character encoding
defer [= boolean] 4 4 4 -   - -   Execute after page loading
event = strEventHandler 4 3 3 -   - -   Event type triggering script
FOR | htmlFor = id 4 3 3 -   - -   Object event is connected to
onerror = script - 4   -   - - - Executed when error occurs
onload = script - 4   -   - - - Executed after loading
src = uri 4 3 4 3   3 x   External source file
text = string - - 4       -   Contents of script block (script-only)
type = [ text/javascript* | text/ecmascript | text/jscript | text/vbs | text/vbscript | text/xml ] 4 4 4 4   - -   Script type (language)
NOSCRIPT 4 3   3   3 x   Non-script container
STYLE 3.2 3   4   3 x   Style-sheet container
media = [ all* | screen | print | projection | braille | speech ] 4 4 5.0 4   3 -   Target media
onerror = script - 4   -   - - - Executed when error occurs
onload = script - 4   -   - - - Executed after loading
type = [ text/css* | text/javascript ] 4 3 4 4   - -   Content type of style language
XML - 5.0   -   - -   XML container
ondataavailable = script - 5.0         - - New data has arrived
ondatasetchanged = script - 5.0         - - Exposed data has changed
ondatasetcomplete = script - 5.0         - - All data is available
onrowsdelete = script - 5.0         - - Rows are about to be deleted
onrowsinserted = script - 5.0         - - New rows have been inserted
recordSet = object - - 5.0       -   Default recordset (script-only)
src = uri - 5.0 5.0 -   - -   External XML document
XMLDocument = objXML - - 5.0       -   References XML DOM (script-only)
PLAINTEXT 2 1   1   2 x   Switch to uninterpreted plain text