kmath1107 > HTML > XHTML Basic 1.0 の仕様

データ量が多いのでまだ間違っている箇所があるかもしれません。

XHTML Basic1.0 の仕様

XHTML 1.0 の仕様書は、 http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd から入手することができる。 ここでは、XHTML Basic 1.0 のタグを使う要素を全て挙げておこう。

XHTML Basic 1.0 の要素説明一覧
要素名説明マークアップの仕方
aanchorinline-level
abbrabbreviationinline-level
acronymacronyminline-level
addressaddressblock-level
basedocument base URIhead-oriented
blockquotequotationblock-level
bodydocument bodymajor structural
brforced line breakinline-level
captiontable captiontable-oriented
citeciteinline-level
codecodeinline-level
dddefinition descriptiondl-oriented
dfndefinitioninline-level
divgeneric block divisionblock-level
dldefinition listblock-level
dtdefinition termdl-oriented
ememphasisinline-level
formform elementblock-level
h1headingblock-level
h2headingblock-level
h3headingblock-level
h4headingblock-level
h5headingblock-level
h6headingblock-level
headdocument headmajor structural element
htmlXHTML document elementmajor structural element
imgimage embeddinginline-level
inputform controlinline-level
kbdkeyboard inputinline-level
labelform field label textinline-level
lilist item(ol|ul)-oriented
linkmedia-independent linkhead-oriented
metageneric metainfomationhead-oriented
objectgeneric embedded objectinline-level
olordered list (numbered styles)block-level
optionselectable choiceselect-oriented
pparagraphblock-level
paramnamed property valueobject-oriented
prepreformatted textblock-level
qquotationinline-level
sampoutput sampleinline-level
selectoption selectorinline-level
spangeneric inline containerinline-level
strongstronger emphasisinline-level
tabletable elementblock-level
tdtable data celltr-oriented
textareamulti-line text fieldinline-level
thtable header celltr-oriented
titledocument titlemajor structural element
trtable rowtable-oriented
ulunordered list (bullet styles)block-level
varvariableinline-level
XHTML Basic 1.0 の要素のグループ分けと子要素
要素名子要素インライン要素ブロック要素
a( #PCDATA | %InlNoAnchor.mix; )*10
abbr( #PCDATA | %Inline.mix; )*10
acronym( #PCDATA | %Inline.mix; )*10
address( #PCDATA | %Inline.mix; )*01
baseEMPTY00
blockquote( %Block.mix; )+01
body( %Block.mix; )+00
brEMPTY10
caption( #PCDATA | %Inline.mix; )*00
cite( #PCDATA | %Inline.mix; )*10
code( #PCDATA | %Inline.mix; )*10
dd( #PCDATA | %Flow.mix; )*00
dfn( #PCDATA | %Inline.mix; )*10
div( #PCDATA | %Flow.mix; )*01
dl( %dt.qname; | %dd.qname; )+01
dt( #PCDATA | %Inline.mix; )*00
em( #PCDATA | %Inline.mix; )*10
form( %BlkNoForm.mix; )+01
h1( #PCDATA | %Inline.mix; )*01
h2( #PCDATA | %Inline.mix; )*01
h3( #PCDATA | %Inline.mix; )*01
h4( #PCDATA | %Inline.mix; )*01
h5( #PCDATA | %Inline.mix; )*01
h6( #PCDATA | %Inline.mix; )*01
head( %HeadOpts.mix;, %title.qname;, %HeadOpts.mix; )00
html( %head.qname;, %body.qname; )00
imgEMPTY10
inputEMPTY10
kbd( #PCDATA | %Inline.mix; )*10
label( #PCDATA | %input.qname; | %select.qname; | %textarea.qname; | %InlStruct.class; %InlPhras.class; %I18n.class; %InlPres.class; %InlSpecial.class; %Misc.class; )*10
li( #PCDATA | %Flow.mix; )*00
linkEMPTY00
metaEMPTY00
object( #PCDATA | %Flow.mix; | %param.qname; )*10
ol( %li.qname; )+01
option( #PCDATA )00
p( #PCDATA | %Inline.mix; )*01
paramEMPTY00
pre( #PCDATA | %InlStruct.class; %InlPhras.class; | %tt.qname; | %i.qname; | %b.qname; %I18n.class; %Anchor.class; | %script.qname; | %map.qname; %Inline.extra; )*01
q( #PCDATA | %Inline.mix; )*10
samp( #PCDATA | %Inline.mix; )*10
select( %option.qname; )+10
span( #PCDATA | %Inline.mix; )*10
strong( #PCDATA | %Inline.mix; )*10
table( %caption.qname;?, %tr.qname;+ )01
td( #PCDATA | %FlowNoTable.mix; )*00
textarea( #PCDATA )10
th( #PCDATA | %FlowNoTable.mix; )*00
title( #PCDATA )00
tr( %th.qname; | %td.qname; )+00
ul( %li.qname; )+01
var( #PCDATA | %Inline.mix; )*10
XHTML Basic 1.0 の属性リスト宣言
要素属性名属性の型デフォルト宣言
a%Common.attrib;
hrefCDATA#IMPLIED
charsetCDATA#IMPLIED
typeCDATA#IMPLIED
hreflangCDATA#IMPLIED
relNMTOKENS#IMPLIED
revNMTOKENS#IMPLIED
accesskeyCDATA#IMPLIED
tabindexCDATA#IMPLIED
abbr%Common.attrib;
acronym%Common.attrib;
address%Common.attrib;
base%XHTML.xmlns.attrib;
hrefCDATA#REQUIRED
blockquote%Common.attrib;
citeCDATA#IMPLIED
body%Common.attrib;
br%Core.attrib;
caption%Common.attrib;
cite%Common.attrib;
code%Common.attrib;
dd%Common.attrib;
dfn%Common.attrib;
div%Common.attrib;
dl%Common.attrib;
dt%Common.attrib;
em%Common.attrib;
form%Common.attrib;
actionCDATA#REQUIRED
method( get | post )'get'
enctypeCDATA'application/x-www-form-urlencoded'
h1%Common.attrib;
h2%Common.attrib;
h3%Common.attrib;
h4%Common.attrib;
h5%Common.attrib;
h6%Common.attrib;
head%XHTML.xmlns.attrib;
xml:langCDATA#IMPLIED
profileCDATA''
html%XHTML.xmlns.attrib;
schemaLocationCDATA#IMPLIED
versionCDATA#FIXED '-//W3C//DTD XHTML Basic 1.0//EN'
xml:langCDATA#IMPLIED
img%Common.attrib;
srcCDATA#REQUIRED
altCDATA#REQUIRED
longdescCDATA#IMPLIED
heightCDATA#IMPLIED
widthCDATA#IMPLIED
input%Common.attrib;
type( text | password | checkbox | radio | submit | reset | hidden )'text'
nameCDATA#IMPLIED
valueCDATA#IMPLIED
checked( checked )#IMPLIED
sizeCDATA#IMPLIED
maxlengthCDATA#IMPLIED
srcCDATA#IMPLIED
tabindexCDATA#IMPLIED
accesskeyCDATA#IMPLIED
kbd%Common.attrib;
label%Common.attrib;
forIDREF#IMPLIED
accesskeyCDATA#IMPLIED
li%Common.attrib;
link%Common.attrib;
charsetCDATA#IMPLIED
hrefCDATA#IMPLIED
hreflangCDATA#IMPLIED
typeCDATA#IMPLIED
relNMTOKENS#IMPLIED
revNMTOKENS#IMPLIED
mediaCDATA#IMPLIED
meta%XHTML.xmlns.attrib;
xml:langCDATA#IMPLIED
http-equivNMTOKENS#IMPLIED
nameNMTOKENS#IMPLIED
contentCDATA#REQUIRED
schemeCDATA#IMPLIED
object%Common.attrib;
declare( declare )#IMPLIED
classidCDATA#IMPLIED
codebaseCDATA#IMPLIED
dataCDATA#IMPLIED
typeCDATA#IMPLIED
codetypeCDATA#IMPLIED
archiveCDATA#IMPLIED
standbyCDATA#IMPLIED
heightCDATA#IMPLIED
widthCDATA#IMPLIED
nameCDATA#IMPLIED
tabindexCDATA#IMPLIED
ol%Common.attrib;
option%Common.attrib;
selected( selected )#IMPLIED
valueCDATA#IMPLIED
p%Common.attrib;
param%XHTML.xmlns.attrib;
idID#IMPLIED
nameCDATA#REQUIRED
valueCDATA#IMPLIED
valuetype( data | ref | object )'data'
typeCDATA#IMPLIED
pre%Common.attrib;
q%Common.attrib;
citeCDATA#IMPLIED
samp%Common.attrib;
select%Common.attrib;
nameCDATA#IMPLIED
sizeCDATA#IMPLIED
multiple( multiple )#IMPLIED
tabindexCDATA#IMPLIED
span%Common.attrib;
strong%Common.attrib;
table%Common.attrib;
summaryCDATA#IMPLIED
widthCDATA#IMPLIED
td%Common.attrib;
abbrCDATA#IMPLIED
axisCDATA#IMPLIED
headersIDREFS#IMPLIED
scope( row | col )#IMPLIED
rowspanCDATA'1'
colspanCDATA'1'
align( left | center | right )#IMPLIED
valign( top | middle | bottom )#IMPLIED
textarea%Common.attrib;
nameCDATA#IMPLIED
rowsCDATA#REQUIRED
colsCDATA#REQUIRED
tabindexCDATA#IMPLIED
accesskeyCDATA#IMPLIED
th%Common.attrib;
abbrCDATA#IMPLIED
axisCDATA#IMPLIED
headersIDREFS#IMPLIED
scope( row | col )#IMPLIED
rowspanCDATA'1'
colspanCDATA'1'
align( left | center | right )#IMPLIED
valign( top | middle | bottom )#IMPLIED
title%XHTML.xmlns.attrib;
xml:langCDATA#IMPLIED
tr%Common.attrib;
align( left | center | right )#IMPLIED
valign( top | middle | bottom )#IMPLIED
ul%Common.attrib;
var%Common.attrib;
いくつかの実体の展開
実体展開したもの
%XHTML.xmlns.attrib;xmlns CDATA #FIXED 'http://www.w3.org/1999/xhtml'
%Core.attribxmlns CDATA #FIXED 'http://www.w3.org/1999/xhtml'
id ID #IMPLIED
class NMTOKENS #IMPLIED
title CDATA #IMPLIED
xml:space ( preserve ) #FIXED 'preserve'
%Common.attribxmlns CDATA #FIXED 'http://www.w3.org/1999/xhtml'
id ID #IMPLIED
class NMTOKENS #IMPLIED
title CDATA #IMPLIED
xml:space ( preserve ) #FIXED 'preserve'
xml:lang CDATA #IMPLIED

参考文献: どら猫本舗のリファレンスカウンター > ウェブ制作 > XMLベーシック > REC-20001219 , Studying XML for beginners, XHTML Basic 1.0 仕様書 ;次のリストに仕様書のURIを挙げる。