XHTML 1.1 Cheat Sheet

XHTML 1.1 XHTML Basic 1.1

Attribute Collections NAME ATTRIBUTES Core id, class, title, :space I18N 1 dir, xml:lang Events 2 onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeypress, onkeydown, onkeyup Style 3 style 1) The dir attribute is only added to the I18N collection when the Bi-directional Text module is included 2) The Events collection is only defined when the Intrinsic Events module is included 3) The Style collection is only defined when the Style Attribute Module is included NOTE: Bolded attributes are required for the element Core Modules a Text Extension Modules (cont’d) Structure Module XHTML 1.1, XHTML Basic 1.1 Presentation Module (cont’d) XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES body sub head id, profile sup html id, version, xmlns tt title id Edit Module XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES Text Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES del cite, datetime abbr ins cite, datetime

acronym 3 Bi-directional Text Module XHTML 1.1 address ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES bdo dir, xml:lang blockquote cite 3) Selecting this module adds the dir attribute to the I18N attribute collection br b cite Forms Modules Basic Forms Module 4 code ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES dfn form action, method, enctype div accesskey, checked, maxlength, name, size, src, input tabindex, type, value em label accesskey, for h1 select multiple, name, size, tabindex h2 option selected, value h3 textarea accesskey, cols, name, rows, tabindex h4 4) This module is a subset of the Forms module h5 Forms Module XHTML 1.1, XHTML Basic 1.1 h6 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES form accept, accept-charset, action, method, enctype kbd accept, accesskey, alt, checked, disabled, p input maxlength, name, readonly, size, src, tabindex, type, pre value q cite label accesskey, for samp select disabled, multiple, name, size, tabindex span option disabled, label, selected, value strong accesskey, cols, disabled, name, readonly, rows, textarea tabindex var button accesskey, disabled, name, tabindex, type, value Hypertext Module XHTML 1.1, XHTML Basic 1.1 fieldset ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES legend accesskey a accesskey, charset, href, hreflang, rel, rev, tabindex, type optgroup disabled, label

List Module XHTML 1.1, XHTML Basic 1.1 b) These modules may not be included together ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES c dl Tables Modules Basic Tables Module 5 XHTML Basic 1.1 dt ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES dd caption ol table width, summary ul td abbr, align, axis, colspan, headers, rowspan, scope, li value 1 valign 1) This attribute is only available in XHTML Basic 1.1 th abbr, align, axis, colspan, headers, rowspan, scope, a) These modules are must be included valign Applet Module 2 tr align, valign ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES 5) This module is a subset of the Tables module object alt, archive, code, codebase, height, object, width Tables Module XHTML 1.1 param id, name, type, value, valuetype ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES 2) This module is deprecated caption Text Extension Modules border, cellpadding, cellspacing, , rules, table summary, width Presentation Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES td abbr, align, axis, char, charoff, colspan, headers, b rowspan, scope, valign big abbr, align, axis, char, charoff, colspan, headers, th rowspan, scope, valign hr tr align, char, charoff, valign i col align, char, charoff, span, valign, width small XHTML 1.1 Cheat Sheet

Tables Modules (cont’d) c Style Sheet Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES Tables Module (cont’d) XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES style id, media, title, type

colgroup align, char, charoff, span, valign, width 10 Style Attribute Module XHTML 1.1, XHTML Basic 1.1 tbody align, char, charoff, valign 10) Selecting this module activates the Style attribute collection thead align, char, charoff, valign Link Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES tfoot align, char, charoff, valign link charset, href, hreflang, media, rel, rev, type c) These modules may not be included together Base Module XHTML 1.1, XHTML Basic 1.1 Image Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES base id, href img alt, height, longdesc, src, width Name Identification Module 11 Client-side Image Map Module 6 XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES a name area accesskey, alt, coords, href, nohref, shape, tabindex applet 12 name map id, class, title form 13 name a coords, shape frame 14 name img usemap iframe 15 name input 7 usemap img 16 name object 8 usemap map 17 name 6) This module requires that the Image module is included 7) Only available when the Forms or Basic Form module is included 11) This module is deprecated 8) Only available when the Object module is included 12) Only available when the Applet module is included 13) Only available when the Forms or Basic Forms module is included Server-side Image Map Module 9 XHTML 1.1 14) Only available when the Frames module is included 15) Only available when the Iframe module is included ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES 16) Only available when the Image module is included img ismap 17) Only available when the Client-side Image Map module is included Legacy Module 18 10 input ismap ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES 9) This module requires that the Image module is included basefont color, face, id, size 10) Only available when the Forms or Basic Form module is included Object Module XHTML 1.1, XHTML Basic 1.1 center ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES dir compact archive, classid, codebase, codetype, data, declare, object height, name, standby, tabindex, type, width font color, face, size param id, name, type, value, valuetype isindex prompt menu compact Frames Module XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES s frameset cols, rows strike frameborder, longdesc, marginheight, marginwidth, frame noresize, scrolling, src u noframes body alink, background, bgcolor, link, text, vlink br clear Target Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES caption align a target div align 1 area target dl compact 2 base target h1 align 3 link target h2 align 4 form target h3 align 1) Only available when the Client-side Image Map module is included 2) Only available when the Base module is included h4 align 3) Only available when the Link module is included 4) Only available when the Forms or Basic Forms module is included h5 align Iframe Module XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES h6 align frameborder, height, longdesc, marginheight, hr align, noshade, size, width iframe marginwidth, scrolling, src, width img align, border, hspace, vspace 5 Intrinsic Events Module XHTML 1.1, XHTML Basic 1.1 19 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES input align a onblur, onfocus legend 20 align area 6 onblur, onfocus li type, value frameset 7 onload, onunload ol compact, start, type form 8 onreset, onsubmit p align body onload, onunload pre width label 9 onblur, onfocus script 21 language input 8 onblur, onchange, onfocus, onselect table 22 align, bgcolor select 8 onblur, onchange, onfocus tr 22 bgcolor textarea 8 onblur, onchange, onfocus, onselect th 22 bgcolor, height, nowrap, width button 9 onblur, onfocus td 22 bgcolor, height, nowrap, width 5) Selecting this module activates the Events attribute collection 6) Only available when the Client-side Image Map module is included ul compact, type 7) Only available when the Frames module is included 8) Only available when the Forms or Basic Forms module is included 18) This module is deprecated and is not intended to reproduce all of the deprecated elements and attributes 9) Only available when the Forms module is included 19) Only available when the Forms or Basic Forms module is included 20) Only available when the Forms module is included 21) Only available when the Scripting module is included Metainformation Module XHTML 1.1, XHTML Basic 1.1 22) Only available when the Tables or Basic Tables module is included ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES Inputmode Attribute Module XHTML Basic 1.1 meta content, http-equiv, id, name, scheme ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES input 23 inputmode Scripting Module XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES textarea 23 inputmode noscript 23) Only available when the Forms or Basic Forms module is included script charset, defer, id, src, type