XHTML Basic 1.1 Cheat Sheet See also: XHTML 1.0 Strict cheat sheet — Recommended Doctype Declarations — XHTML Flavors comparisons.
Getting started A minimal English XHTML Basic 1.1 document would look like the following: My page title
Elements and Attributes reference The tables below document which elements and attributes are allowed in XHTML Basic 1.1, and with the constraints defined in the DTD (please note that the DTD doesn't enforce all the known constraints for XHTML Basic). Skip to attributes table.
Elements In the table below, inline elements are marked like this, block elements are marked like this. a | abbr | acronym | address | b | base | big | blockquote | body | br | button | caption | cite | code | dd | dfn | div | dl | dt | em | fieldset | form | h1 | h2 | h3 | h4 | h5 | h6 | head | hr | html | i | img | input | kbd | label | legend | li | link | meta | noscript | object | ol | optgroup | option | p | param | pre | q | samp | script | select | small | span | strong | style | sub | sup | table | td | textarea | th | title | tr | tt | ul | var Elements
Element
Attributes
Content model
a
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: href charset rev rel onfocus type accesskey onblur hreflang target tabindex
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) except a , noscript , Text , script
abbr
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
acronym
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes (
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Element
Attributes
Content model
style )
address
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
b
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
base big
Other: href xmlns:xsi Empty xmlns target Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes (
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Element
Attributes
Content model
style ) Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( blockquote xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: cite
body
br
button
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: onload onunload
At least one of Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) noscript , script , form
Any numbers of Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) noscript , script , form
Core Attributes ( xml:space title class id ) Empty Style Attributes ( style ) Other: xmlns xmlns:xsi Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes (
Any numbers of samp , Text , abbr , code , h2 , object , em , sup , h4 , script , br , strong , h3 , div , h5 , cite , dl , table , q , address , dfn , var , p , span , pre , blockquote , ul , hr , h1 , sub , tt , big , noscript , h6 , ol , i , img , b ,
Element
Attributes
Content model
xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( acronym , small , kbd style ) Other: disabled onfocus type accesskey onblur name value tabindex
caption
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
cite
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small )
code
Element
Attributes
Content model
Core Attributes ( xml:space title class id ) XML Attributes ( noscript , Text , script xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
dd
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) Text , form , script , noscript
dfn
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 ,
div
Element
Attributes XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Content model
hr , p , fieldset ) Text , form , script , noscript
dl
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) At least one of Core Attributes ( dt , dd xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
dt
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
em
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Element
Attributes
Content model
Style Attributes ( style )
fieldset
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) Text , form , script , legend , noscript
form
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: onreset accept accept-charset method onsubmit enctype target action
At least one of Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) noscript , script
h1
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Element
Attributes
Content model
xmlns ) Style Attributes ( style )
h2
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
h3
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
h4
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes (
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Element
Attributes
Content model
style )
h5
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
h6
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
head
XML Attributes ( xmlns:xsi xml:lang xmlns ) Other: profile id
1. Any numbers of meta , style , script , object , link , 1. title , 2. Any numbers of meta , style , script , object , link , 3.Optionally 1. base , 2. Any numbers of meta , style , script , object , link , 4. base , 5. Any numbers of meta , style , script , object , link , 1. title ,
Element
Attributes
Content model 2. Any numbers of meta , style , script , object , link ,
hr
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( Empty xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
html
XML Attributes ( xmlns:xsi xml:lang xmlns ) Other: version xsi:schemaLocation id
i
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
img
1. head , 2. body ,
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Event Attributes ( Empty onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class
Element
Attributes
Content model
id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: alt width height src longdesc
input
kbd
label
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( Empty xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: accept disabled alt onchange size checked readonly onselect onfocus type accesskey onblur src name value inputmode maxlength tabindex Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Event Attributes ( onmouseup onmouseout onkeypress onkeydown
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br ,
Element
Attributes
Content model
onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: for onfocus accesskey onblur
strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , input , sub , tt , big , b , i , img , small ) except label , noscript , Text , script
legend
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: accesskey
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
li
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: value
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) Text , form , script , noscript
link
Event Attributes ( onmouseup onmouseout
Empty
Element
Attributes
Content model
onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: href media charset rev rel type hreflang target
meta
noscript
object
XML Attributes ( xmlns:xsi xml:lang xmlns ) Other: name content http-equiv scheme
Empty
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
At least one of Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) noscript , script , form
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Block elements ( h3 , pre , h6 , ol , div , ul , h2 , h5 , blockquote , h1 , dl , table , address , h4 , hr , p , fieldset ) Text , form , script , param ,
Element
Attributes
Content model
xmlns ) Style Attributes ( style ) Other: classid noscript codetype archive width type codebase height data name standby declare tabindex
ol
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) At least one of Core Attributes ( li xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
optgroup
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( At least one of xml:space title class option id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: disabled label
option
Event Attributes ( Text onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class
Element
Attributes
Content model
id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: disabled selected label value
p
param
pre
q
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Other: xmlns name valuetype value xmlns:xsi type id
Empty
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of strong , samp , em , Text , abbr , code , acronym , cite , q , kbd , dfn , var , br , a , span
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt ,
Element
Attributes
Content model
onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( big , b , i , img , small ) xmlns:xsi xml:lang noscript , Text , script xmlns ) Style Attributes ( style ) Other: cite
samp
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
script
Other: src xmlns defer charset xmlns:xsi type Text id
select
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class At least one of id ) optgroup , option XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: disabled onchange size onfocus onblur multiple name tabindex
Element
Attributes
Content model
small
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
span
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
strong
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
style
XML Attributes ( xmlns:xsi xml:lang xmlns )
Text
Element
Attributes
Content model
Other: title media type id
sub
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
sup
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
table
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
1. caption (optional), 2. tr (at least one),
Element
Attributes
Content model
Other: summary width
td
textarea
th
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: colspan axis rowspan valign scope align headers abbr
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Text , h2 , form , h4 , script , h3 , div , h5 , dl , address , ul , pre , blockquote , p , h1 , noscript , h6 , ol
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) Text XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: cols disabled onchange rows readonly onselect onfocus accesskey onblur name inputmode tabindex Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) Text , h2 , form , h4 , script , h3 , div , h5 , dl , address , ul ,
Element
title
Attributes
Content model
id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: colspan axis rowspan valign scope align headers abbr
pre , blockquote , p , h1 , noscript , h6 , ol
XML Attributes ( xmlns:xsi xml:lang xmlns )
Text
tr
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( At least one of xml:space title class td , th id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style ) Other: align valign
tt
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
ul
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
At least one of li
Element
Attributes
Content model
onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
var
Event Attributes ( onmouseup onmouseout onkeypress onkeydown onmousedown onmousemove onmouseover onclick onkeyup ondblclick ) Core Attributes ( xml:space title class id ) XML Attributes ( xmlns:xsi xml:lang xmlns ) Style Attributes ( style )
Any numbers of Inline elements ( samp , abbr , code , object , sup , kbd , button , br , strong , a , select , textarea , cite , q , dfn , var , span , em , acronym , label , input , sub , tt , big , b , i , img , small ) noscript , Text , script
Attributes table Attributes Attribute
Related Elements
Type
Default
XML Attributes
xml:lang
Any element Any characters but base br (with < and & param script escaped)
xmlns
Any element
Any characters Fixed value: (with < and & 'http://www.w3.org/1999/x escaped) html'
xmlns:xsi
Any element
Any characters Fixed value: (with < and & 'http://www.w3.org/2001/X escaped) MLSchema-instance'
Attribute
Related Elements
Type
Default
Core Attributes
class
id
title
xml:space
Any element but style White-space title script separated list head param of NMTOKEN meta base html Any element but head meta html base title
ID
Any element but head Any characters title script (with < and & html param escaped) meta base Any element but style title script 'preserve' head param meta base html Style Attributes
style
Any element but style Any characters title script (with < and & head param escaped) meta base html Event Attributes
onclick
ondblclick
Any element but style Any characters script title (with < and & head param escaped) meta br base html Any element Any characters but style (with < and & script title
Fixed value: 'preserve'
Attribute
Related Elements
Type
head param meta br base escaped) html
onkeydown
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onkeypress
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onkeyup
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onmousedown
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onmousemove
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onmouseout
Any element but style Any characters script title (with < and & head param escaped) meta br base html
onmouseover
Any element Any characters but style (with < and & script title
Default
Attribute
Related Elements
Type
head param meta br base escaped) html
onmouseup
Any element but style Any characters script title (with < and & head param escaped) meta br base html Other
abbr
accept
td th
Any characters (with < and & escaped)
input form
Any characters (with < and & escaped)
accept-charset form
accesskey
Any characters (with < and & escaped)
a textarea Any characters button label (with < and & input legend escaped)
action
form
Any characters (with < and & Required escaped)
align
td tr th
'left','center' ,'right'
input
Any characters (with < and & escaped)
img
Any characters (with < and & Required escaped)
alt
archive
object
Any characters (with < and &
Default
Attribute
Related Elements
Type
Default
escaped)
axis
td th
Any characters (with < and & escaped)
charset
a link script
Any characters (with < and & escaped)
checked
input
'checked'
cite
Any characters q blockquote (with < and & escaped)
classid
object
Any characters (with < and & escaped)
codebase
object
Any characters (with < and & escaped)
codetype
object
Any characters (with < and & escaped)
textarea
Any characters (with < and & Required escaped)
td th
Any characters (with < and & Default value: '1' escaped)
meta
Any characters (with < and & Required escaped)
data
object
Any characters (with < and & escaped)
declare
object
'declare'
cols
colspan
content
Attribute defer
disabled
Related Elements script
Type
Default
'defer'
option textarea button 'disabled' optgroup input select
enctype
form
Any characters Default value: (with < and & 'application/x-www-formescaped) urlencoded'
for
label
Name of an existing id
td th
White-space separated list of existing ids
object img
Any characters (with < and & escaped)
base
Any characters (with < and & Required escaped)
a link
Any characters (with < and & escaped)
a link
Any characters (with < and & escaped)
http-equiv
meta
NMTOKEN
inputmode
input textarea
Any characters (with < and & escaped)
option
Any characters (with < and & escaped)
headers
height
href
hreflang
label
optgroup
Any characters Required (with < and &
Attribute
Related Elements
Type
Default
escaped)
img
Any characters (with < and & escaped)
input
Any characters (with < and & escaped)
media
style link
Any characters (with < and & escaped)
method
form
'get','post'
select
'multiple'
param
Any characters (with < and & Required escaped)
longdesc
maxlength
multiple
name
input button Any characters object (with < and & textarea escaped) select meta
onblur
onchange
NMTOKEN
a textarea Any characters button label (with < and & input select escaped) input textarea select
Any characters (with < and & escaped)
onfocus
a textarea Any characters button label (with < and & input select escaped)
onload
body
Any characters (with < and & escaped)
onreset
form
Any characters
Default value: 'get'
Attribute
Related Elements
Type
Default
(with < and & escaped)
onselect
input textarea
Any characters (with < and & escaped)
onsubmit
form
Any characters (with < and & escaped)
onunload
body
Any characters (with < and & escaped)
head
Any characters (with < and & Default value: escaped)
input textarea
'readonly'
rel
a link
White-space separated list of NMTOKEN
rev
a link
White-space separated list of NMTOKEN
textarea
Any characters (with < and & Required escaped)
td th
Any characters (with < and & Default value: '1' escaped)
scheme
meta
Any characters (with < and & escaped)
scope
td th
'row','col'
selected
option
'selected'
profile
readonly
rows
rowspan
Attribute
size
Related Elements
Type
Default
Any characters input select (with < and & escaped) Any characters input script (with < and & escaped)
src img
Any characters (with < and & Required escaped)
standby
object
Any characters (with < and & escaped)
summary
table
Any characters (with < and & escaped)
tabindex
target
type
a textarea Any characters button (with < and & object input escaped) select a base link form
Any characters (with < and & escaped)
Any characters style script (with < and & Required escaped) button
'button','submi Default value: 'submit' t','reset'
a object link param
Any characters (with < and & escaped)
input
'text', 'password', 'checkbox', 'radio', 'submit', 'reset', 'file', 'hidden',
Default value: 'text'
Attribute
Related Elements
Type
Default
'image', 'button' 'top', 'middle', 'bottom'
valign
td tr th
value
input button Any characters option param (with < and & li escaped)
valuetype
param
'data', 'ref', Default value: 'data' 'object'
version
html
Any characters Fixed value: '-//W3C//DTD (with < and & XHTML Basic 1.1//EN' escaped)
width
Any characters table object (with < and & img escaped)
xsi:schemaLocati html on
Any characters (with < and & escaped)
Dominique Hazaël-Massieux Generated from XHTML Basic 1.1 DTD using dtd-doc.py Last Modified: $Date: 2010/04/20 12:41:40 $