目次 < 名前順要素一覧 戻る

バナー

中年おっちゃんでも出来た ウェブページ作成講座 with ? mark

DTDから検索する要素

各要素や、属性の動作は、W3CHTML 4.01 Specification を参考に、自分なりに検証したつもりですが、間違いや、勘違い等、多々あると思います。間違等を見つけられた場合は、メールで教えていただけると助かります。随時更新して完成度を高めていきたいと思います。

XHTML 1.0 Strict

XHTML 1.0 Transitional

XHTML 1.0 Frameset

XHTML 1.0 Strict 要素属性

XHTML 1.0 Strict DTD を元に、ブロック要素 と 、インライン要素 の総称 Flow を検索します。

<!-- %Flow; mixes block and inline and is used for list items etc. -->
<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
%Flowに定義されている要素は、0個以上の

BODY要素に記述できる特定要素の子要素を除く全ての要素です。

XHTML 1.0 Strict DTD を元に、BODY要素の子要素として使用出来るブロック要素を検索します。

<!ELEMENT body %Block;>
BODY要素の子要素は、%Blockに定義されている要素
<!ENTITY % Block "(%block; | form | %misc;)*">
%Blockに定義されている要素は、0個以上の

XHTML 1.0 Strict DTD を元に、インライン要素を検索します。

<!-- %Inline; covers inline or "text-level" elements -->
<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">
インライン要素要素は、0個以上の

XHTML 1.0 Transitiona 要素

XHTML 1.0 Transitiona DTD を元に、BODY要素の子要素として使用出来る要素を検索します。

<!ELEMENT body %Flow;>
BODY要素で使用出来る要素は、%Flowに定義されている要素
<!-- %Flow; mixes block and inline and is used for list items etc. -->
<!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
%Flowに定義されている要素は、0個以上の
  • PCDATA
  • %blockに定義されている要素
    <!ENTITY % block
    "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
  • FORM要素
  • %inlineに定義されている要素
    <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
    • A要素
    • %specialに定義されている要素
      <!ENTITY % special "%special.basic; | %special.extra;">
    • %fontstyleに定義されている要素。%fontstyleに定義されている要素は、非推奨要素です。
      <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">
      • %fontstyle.basic;に定義されている要素
        <!ENTITY % fontstyle.basic "tt | i | b | u | s | strike ">
        • TT要素
        • I要素
        • B要素
        • U要素
        • S要素
        • STRIKE要素
      • %fontstyle.extraに定義されている要素
        <!ENTITY % fontstyle.basic "big | small | font | basefont">
        • BIG要素
        • SMALL要素
        • FONT要素
        • BASEFONT要素
    • %phraseに定義されている要素
      <!ENTITY % phrase "%phrase.basic; | %phrase.extra;">
    • %inline.formsに定義されている要素
      <!ENTITY % inline.forms "input | select | textarea | label | button">
  • %miscに定義されている要素
    <!-- these can only occur at block level -->
    <!ENTITY % misc "noscript | %misc.inline">

XHTML 1.0 Frameset 要素

XHTML 1.0 Frameset DTD を元に、HTML要素の子要素として使用出来る要素を検索します。

<!ELEMENT html (head, frameset)>

目次 < 名前順要素一覧 戻る Top

Created:Jun 01, 2005 Updated:Oct.,25,2011 © by おっちゃん
Oct.,25,2011 全面更新