Вы находитесь на странице: 1из 2

XHTML 1.

1 Cheat Sheet
XHTML 1.1 XHTML Basic 1.1
NAME

<!DOCTYPE html PUBLIC "//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!DOCTYPE html PUBLIC "//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtmlbasic/xhtmlbasic11.dtd"> Attribute Collections
ATTRIBUTES

Core I18N 1 Events 2 Style 3

id, class, title, xml:space dir, xml:lang onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeypress, onkeydown, onkeyup style
NOTE: Bolded attributes are required for the element

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

Core Modules a Structure Module


ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE

Text Extension Modules (contd) Presentation Module (contd)


I18N EVENTS STYLE ATTRIBUTES

XHTML 1.1, XHTML Basic 1.1

body head html title


ELEMENT CORE I18N EVENTS STYLE

sub id, profile id, version, xmlns id Text Module


ATTRIBUTES ELEMENT XHTML 1.1, XHTML Basic 1.1 CORE I18N EVENTS STYLE

sup tt Edit Module


ATTRIBUTES XHTML 1.1

del ins
ELEMENT CORE I18N EVENTS STYLE

cite, datetime cite, datetime Bi-directional Text Module 3


ATTRIBUTES XHTML 1.1

abbr acronym address blockquote br cite code dfn div em h1 h2 h3 h4 h5 h6 kbd p pre q samp span strong var Hypertext Module
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES XHTML 1.1, XHTML Basic 1.1

cite

bdo

dir, xml:lang Forms Modules b Basic Forms Module 4

3) Selecting this module adds the dir attribute to the I18N attribute collection

ELEMENT

CORE

I18N EVENTS STYLE

ATTRIBUTES

form input label select option textarea


4) This module is a subset of the Forms module

action, method, enctype accesskey, checked, maxlength, name, size, src, tabindex, type, value accesskey, for multiple, name, size, tabindex selected, value accesskey, cols, name, rows, tabindex Forms Module
XHTML 1.1, XHTML Basic 1.1 ATTRIBUTES

ELEMENT

CORE

I18N EVENTS STYLE

form input cite label select option textarea button fieldset legend optgroup
b) These modules may not be included together

accept, accept-charset, action, method, enctype accept, accesskey, alt, checked, disabled, maxlength, name, readonly, size, src, tabindex, type, value accesskey, for disabled, multiple, name, size, tabindex disabled, label, selected, value accesskey, cols, disabled, name, readonly, rows, tabindex accesskey, disabled, name, tabindex, type, value accesskey disabled, label Tables Modules c Basic Tables Module 5

accesskey, charset, href, hreflang, rel, rev, tabindex, type List Module
XHTML 1.1, XHTML Basic 1.1 ATTRIBUTES CORE I18N EVENTS STYLE

ELEMENT

dl dt dd ol ul li
1) This attribute is only available in XHTML Basic 1.1 a) These modules are must be included ELEMENT CORE

XHTML Basic 1.1 ATTRIBUTES

I18N EVENTS STYLE

caption table value 1 td th Applet Module 2 tr


ATTRIBUTES 5) This module is a subset of the Tables module

width, summary abbr, align, axis, colspan, headers, rowspan, scope, valign abbr, align, axis, colspan, headers, rowspan, scope, valign align, valign Tables Module
XHTML 1.1 ATTRIBUTES

ELEMENT

CORE

I18N EVENTS STYLE

object param
2) This module is deprecated

alt, archive, code, codebase, height, object, width id, name, type, value, valuetype Text Extension Modules Presentation Module
ELEMENT CORE I18N EVENTS STYLE

caption table
XHTML 1.1, XHTML Basic 1.1

border, cellpadding, cellspacing, frame, rules, summary, width abbr, align, axis, char, charoff, colspan, headers, rowspan, scope, valign abbr, align, axis, char, charoff, colspan, headers, rowspan, scope, valign align, char, charoff, valign align, char, charoff, span, valign, width

ELEMENT

CORE

I18N EVENTS STYLE

ATTRIBUTES

b big hr i small

td th tr col

XHTML 1.1 Cheat Sheet


Tables Modules (contd) c Tables Module (contd)
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

Style Sheet Module


ELEMENT XHTML 1.1 CORE I18N EVENTS STYLE ATTRIBUTES

XHTML 1.1, XHTML Basic 1.1

style

id, media, title, type Style Attribute Module 10


XHTML 1.1, XHTML Basic 1.1

colgroup tbody thead tfoot


c) These modules may not be included together

align, char, charoff, span, valign, width align, char, charoff, valign align, char, charoff, valign
ELEMENT CORE I18N EVENTS STYLE

10) Selecting this module activates the Style attribute collection

Link Module
ATTRIBUTES

XHTML 1.1, XHTML Basic 1.1

align, char, charoff, valign Image Module

link
XHTML 1.1, XHTML Basic 1.1 ELEMENT CORE I18N EVENTS STYLE

charset, href, hreflang, media, rel, rev, type Base Module


ATTRIBUTES XHTML 1.1, XHTML Basic 1.1

ELEMENT

CORE

I18N EVENTS STYLE

ATTRIBUTES

base
XHTML 1.1 ELEMENT CORE I18N EVENTS STYLE

id, href Name Identification Module 11


ATTRIBUTES

img
ELEMENT CORE I18N EVENTS STYLE

alt, height, longdesc, src, width Client-side Image Map Module 6


ATTRIBUTES

a applet 12 form 13 frame 14 iframe 15 img 16 map 17


XHTML 1.1

name name name name name name name

area map a img input


7

accesskey, alt, coords, href, nohref, shape, tabindex id, class, title coords, shape usemap usemap usemap

object 8

6) This module requires that the Image module is included 7) Only available when the Forms or Basic Form module is included 8) Only available when the Object module is included

Server-side Image Map Module 9


ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

img input 10

ismap ismap Object Module


XHTML 1.1, XHTML Basic 1.1 ATTRIBUTES

11) This module is deprecated 12) Only available when the Applet module is included 13) Only available when the Forms or Basic Forms module is included 14) Only available when the Frames module is included 15) Only available when the Iframe module is included 16) Only available when the Image module is included 17) Only available when the Client-side Image Map module is included

Legacy Module 18
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

9) This module requires that the Image module is included 10) Only available when the Forms or Basic Form module is included

basefont center dir font isindex


XHTML 1.1 ATTRIBUTES

color, face, id, size compact color, face, size prompt compact

ELEMENT

CORE

I18N EVENTS STYLE

object param
ELEMENT CORE I18N EVENTS STYLE

archive, classid, codebase, codetype, data, declare, height, name, standby, tabindex, type, width id, name, type, value, valuetype Frames Module

menu s strike u body

frameset frame noframes

cols, rows frameborder, longdesc, marginheight, marginwidth, noresize, scrolling, src

alink, background, bgcolor, link, text, vlink clear align align compact align align align align align align align, noshade, size, width align, border, hspace, vspace align align type, value compact, start, type align width language align, bgcolor bgcolor bgcolor, height, nowrap, width bgcolor, height, nowrap, width compact, type

Target Module
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

br
XHTML 1.1, XHTML Basic 1.1

caption div dl h1 h2 h3 h4 h5
XHTML 1.1

a area 1 base 2 link 3 form 4

target target target target target

1) Only available when the Client-side Image Map module is included 2) Only available when the Base module is included 3) Only available when the Link module is included 4) Only available when the Forms or Basic Forms module is included

Iframe Module
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

h6 hr img input 19 legend 20 li ol p pre script 21 table 22 tr 22 th 22 td 22 ul

iframe

frameborder, height, longdesc, marginheight, marginwidth, scrolling, src, width Intrinsic Events Module 5
XHTML 1.1, XHTML Basic 1.1 CORE I18N EVENTS STYLE ATTRIBUTES

ELEMENT

a area 6 frameset 7 form 8 body label 9 input 8 select 8 textarea 8 button 9

onblur, onfocus onblur, onfocus onload, onunload onreset, onsubmit onload, onunload onblur, onfocus onblur, onchange, onfocus, onselect onblur, onchange, onfocus onblur, onchange, onfocus, onselect onblur, onfocus

5) Selecting this module activates the Events attribute collection 6) Only available when the Client-side Image Map module is included 7) Only available when the Frames module is included 8) Only available when the Forms or Basic Forms module is included 9) Only available when the Forms module is included

Metainformation Module
ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

XHTML 1.1, XHTML Basic 1.1

18) This module is deprecated and is not intended to reproduce all of the deprecated elements and attributes 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 22) Only available when the Tables or Basic Tables module is included

meta
ELEMENT CORE I18N EVENTS STYLE

content, http-equiv, id, name, scheme Scripting Module


ATTRIBUTES XHTML 1.1, XHTML Basic 1.1

Inputmode Attribute Module


ELEMENT CORE I18N EVENTS STYLE ATTRIBUTES

XHTML Basic 1.1

input 23 textarea 23

inputmode inputmode

noscript script charset, defer, id, src, type

23) Only available when the Forms or Basic Forms module is included

Вам также может понравиться