| 277 |
and the <span>SVG namespace</span>. |
and the <span>SVG namespace</span>. |
| 278 |
#ja |
#ja |
| 279 |
<a href=#mathml-namespace>MathML 名前空間</a>からの要素。<!--XXXSVG |
<a href=#mathml-namespace>MathML 名前空間</a>からの要素。<!--XXXSVG |
| 280 |
and the <span>SVG namespace</span>. |
and the <span>SVG namespace</span>.--> |
| 281 |
|
|
| 282 |
#en |
#en |
| 283 |
Normal elements |
Normal elements |
| 609 |
<span class=secno>$1 </span>属性 |
<span class=secno>$1 </span>属性 |
| 610 |
|
|
| 611 |
#en |
#en |
|
<dfn id=syntax-start-tags title=syntax-start-tags>Start tags</dfn> must have the |
|
|
following format: |
|
|
#ja |
|
|
<dfn id=syntax-start-tags title=syntax-start-tags>開始タグ</dfn>は次の書式でなければ[[MUST:なりません]]。 |
|
|
following format: |
|
|
|
|
|
#en |
|
| 612 |
<dfn id=syntax-attributes title=syntax-attributes>Attributes</dfn> for an element |
<dfn id=syntax-attributes title=syntax-attributes>Attributes</dfn> for an element |
| 613 |
are expressed inside the element's start tag. |
are expressed inside the element's start tag. |
| 614 |
#ja |
#ja |
| 833 |
#ja |
#ja |
| 834 |
<code><a href=#the-html-element>html</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
<code><a href=#the-html-element>html</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
| 835 |
<code><a href=#the-html-element>html</a></code> 要素の内側の最初のものが<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
<code><a href=#the-html-element>html</a></code> 要素の内側の最初のものが<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
| 836 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 837 |
|
|
| 838 |
#en |
#en |
| 839 |
An <code><a href=#the-html-element>html</a></code> element's <span title=syntax-end-tag>end |
An <code><a href=#the-html-element>html</a></code> element's <span title=syntax-end-tag>end |
| 840 |
tag</span> may be omitted if the <code><a href=#the-html-element>html</a></code> element is not |
tag</span> may be omitted if the <code><a href=#the-html-element>html</a></code> element is not |
| 841 |
immediately followed by a <a href=#syntax-comments title=syntax-comments>comment</a> |
immediately followed by a <a href=#syntax-comments title=syntax-comments>comment</a> |
| 842 |
and the element contains a <code><a href=#the-body-element>body</a></code> element that is either |
and the element contains a <code><a href=#the-body-element>body</a></code> element that is either |
| 843 |
not empty or whose <span title=syntax-start-tag>start tag</span> |
not empty or whose <span title=syntax-start-tag>start tag</span> |
| 844 |
has not been omitted. |
has not been omitted. |
| 845 |
#ja |
#ja |
| 846 |
<code><a href=#the-html-element>html</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-html-element>html</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 847 |
<code><a href=#the-html-element>html</a></code> 要素の直後が<a href=#syntax-comments title=syntax-comments>注釈</a>ではなく、 |
<code><a href=#the-html-element>html</a></code> 要素の直後が<a href=#syntax-comments title=syntax-comments>注釈</a>ではなく、 |
| 848 |
空でないか、または<span title=syntax-start-tag>開始タグ</span>が省略されていない |
空でないか、または<span title=syntax-start-tag>開始タグ</span>が省略されていない |
| 849 |
<code><a href=#the-body-element>body</a></code> 要素を同要素が含む場合、 |
<code><a href=#the-body-element>body</a></code> 要素を同要素が含む場合、 |
| 850 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 851 |
|
|
| 852 |
#en |
#en |
| 853 |
A <code><a href=#the-head-element>head</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
A <code><a href=#the-head-element>head</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
| 854 |
first thing inside the <code><a href=#the-head-element>head</a></code> element is an element. |
first thing inside the <code><a href=#the-head-element>head</a></code> element is an element. |
| 855 |
#ja |
#ja |
| 856 |
<code><a href=#the-head-element>head</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
<code><a href=#the-head-element>head</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
| 857 |
<code><a href=#the-head-element>head</a></code> 要素の内側の最初のものが要素である場合、 |
<code><a href=#the-head-element>head</a></code> 要素の内側の最初のものが要素である場合、 |
| 858 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 859 |
|
|
| 860 |
#en |
#en |
| 861 |
A <code><a href=#the-head-element>head</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-head-element>head</a></code> element's <span title=syntax-end-tag>end |
| 862 |
tag</span> may be omitted if the <code><a href=#the-head-element>head</a></code> element is not |
tag</span> may be omitted if the <code><a href=#the-head-element>head</a></code> element is not |
| 863 |
immediately followed by a <a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>. |
immediately followed by a <a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>. |
| 864 |
#ja |
#ja |
| 865 |
<code><a href=#the-head-element>head</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-head-element>head</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 866 |
<code><a href=#the-head-element>head</a></code> 要素の直後に<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>がない場合、 |
<code><a href=#the-head-element>head</a></code> 要素の直後に<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>がない場合、 |
| 867 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 868 |
|
|
| 869 |
#en |
#en |
| 870 |
A <code><a href=#the-body-element>body</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
A <code><a href=#the-body-element>body</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
| 871 |
first thing inside the <code><a href=#the-body-element>body</a></code> element is not a |
first thing inside the <code><a href=#the-body-element>body</a></code> element is not a |
| 872 |
<a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>, except if the first thing |
<a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>, except if the first thing |
| 874 |
<code><a href=#the-style-element>style</a></code> element. <!-- Note that even if the </head> end |
<code><a href=#the-style-element>style</a></code> element. <!-- Note that even if the </head> end |
| 875 |
tag is present, the parser makes <style> and <script> elements |
tag is present, the parser makes <style> and <script> elements |
| 876 |
between </head> and <body> end up in the <head> instead of implying |
between </head> and <body> end up in the <head> instead of implying |
| 877 |
the <body> --> |
the <body> --> |
| 878 |
#ja |
#ja |
| 879 |
<code><a href=#the-body-element>body</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
<code><a href=#the-body-element>body</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
| 880 |
<code><a href=#the-body-element>body</a></code> 要素の内側の最初のものが<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
<code><a href=#the-body-element>body</a></code> 要素の内側の最初のものが<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
| 881 |
<code><a href=#the-body-element>body</a></code> 要素の内側の最初のものが |
<code><a href=#the-body-element>body</a></code> 要素の内側の最初のものが |
| 885 |
<!-- Note that even if the </head> end |
<!-- Note that even if the </head> end |
| 886 |
tag is present, the parser makes <style> and <script> elements |
tag is present, the parser makes <style> and <script> elements |
| 887 |
between </head> and <body> end up in the <head> instead of implying |
between </head> and <body> end up in the <head> instead of implying |
| 888 |
the <body> --> |
the <body> --> |
| 889 |
|
|
| 890 |
#en |
#en |
| 891 |
A <code><a href=#the-body-element>body</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-body-element>body</a></code> element's <span title=syntax-end-tag>end |
| 892 |
tag</span> may be omitted if the <code><a href=#the-body-element>body</a></code> element is not |
tag</span> may be omitted if the <code><a href=#the-body-element>body</a></code> element is not |
| 893 |
immediately followed by a <a href=#syntax-comments title=syntax-comments>comment</a> and the element is either not |
immediately followed by a <a href=#syntax-comments title=syntax-comments>comment</a> and the element is either not |
| 894 |
empty or its <span title=syntax-start-tag>start tag</span> has not |
empty or its <span title=syntax-start-tag>start tag</span> has not |
| 895 |
been omitted. |
been omitted. |
| 896 |
#ja |
#ja |
| 897 |
<code><a href=#the-body-element>body</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-body-element>body</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 898 |
<code><a href=#the-body-element>body</a></code> 要素の直後が<a href=#syntax-comments title=syntax-comments>注釈</a>ではなく、 |
<code><a href=#the-body-element>body</a></code> 要素の直後が<a href=#syntax-comments title=syntax-comments>注釈</a>ではなく、 |
| 899 |
要素が空ではないか、または<span title=syntax-start-tag>開始タグ</span>が省略されていない場合、 |
要素が空ではないか、または<span title=syntax-start-tag>開始タグ</span>が省略されていない場合、 |
| 900 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 901 |
|
|
| 902 |
#en |
#en |
| 903 |
A <code><a href=#the-li-element>li</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-li-element>li</a></code> element's <span title=syntax-end-tag>end |
| 904 |
tag</span> may be omitted if the <code><a href=#the-li-element>li</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-li-element>li</a></code> element is |
| 905 |
immediately followed by another <code><a href=#the-li-element>li</a></code> element or if there |
immediately followed by another <code><a href=#the-li-element>li</a></code> element or if there |
| 906 |
is no more content in the parent element. |
is no more content in the parent element. |
| 907 |
#ja |
#ja |
| 908 |
<code><a href=#the-li-element>li</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-li-element>li</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 909 |
<code><a href=#the-li-element>li</a></code> 要素の直後が別の |
<code><a href=#the-li-element>li</a></code> 要素の直後が別の |
| 910 |
<code><a href=#the-li-element>li</a></code> 要素か、 |
<code><a href=#the-li-element>li</a></code> 要素か、 |
| 911 |
親要素にそれ以上に内容がない場合、 |
親要素にそれ以上に内容がない場合、 |
| 912 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 913 |
|
|
| 914 |
#en |
#en |
| 915 |
A <code><a href=#the-dt-element>dt</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-dt-element>dt</a></code> element's <span title=syntax-end-tag>end |
| 916 |
tag</span> may be omitted if the <code><a href=#the-dt-element>dt</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-dt-element>dt</a></code> element is |
| 917 |
immediately followed by another <code><a href=#the-dt-element>dt</a></code> element or a |
immediately followed by another <code><a href=#the-dt-element>dt</a></code> element or a |
| 918 |
<code><a href=#the-dd-element>dd</a></code> element. |
<code><a href=#the-dd-element>dd</a></code> element. |
| 919 |
#ja |
#ja |
| 920 |
<code><a href=#the-dt-element>dt</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-dt-element>dt</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 921 |
<code><a href=#the-dt-element>dt</a></code> 要素の直後が別の |
<code><a href=#the-dt-element>dt</a></code> 要素の直後が別の |
| 922 |
<code><a href=#the-dt-element>dt</a></code> 要素か |
<code><a href=#the-dt-element>dt</a></code> 要素か |
| 923 |
<code><a href=#the-dd-element>dd</a></code> 要素の場合、省略して[[MAY:構いません]]。 |
<code><a href=#the-dd-element>dd</a></code> 要素の場合、省略して[[MAY:構いません]]。 |
| 924 |
|
|
| 925 |
#en |
#en |
| 926 |
A <code><a href=#the-dd-element>dd</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-dd-element>dd</a></code> element's <span title=syntax-end-tag>end |
| 927 |
tag</span> may be omitted if the <code><a href=#the-dd-element>dd</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-dd-element>dd</a></code> element is |
| 928 |
immediately followed by another <code><a href=#the-dd-element>dd</a></code> element or a |
immediately followed by another <code><a href=#the-dd-element>dd</a></code> element or a |
| 929 |
<code><a href=#the-dt-element>dt</a></code> element, or if there is no more content in the |
<code><a href=#the-dt-element>dt</a></code> element, or if there is no more content in the |
| 930 |
parent element. |
parent element. |
| 931 |
#ja |
#ja |
| 932 |
<code><a href=#the-dd-element>dd</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-dd-element>dd</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 933 |
<code><a href=#the-dd-element>dd</a></code> 要素の直後が別の |
<code><a href=#the-dd-element>dd</a></code> 要素の直後が別の |
| 934 |
<code><a href=#the-dd-element>dd</a></code> 要素か |
<code><a href=#the-dd-element>dd</a></code> 要素か |
| 935 |
<code><a href=#the-dt-element>dt</a></code> 要素の場合や、 |
<code><a href=#the-dt-element>dt</a></code> 要素の場合や、 |
| 936 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 937 |
|
|
| 938 |
#en |
#en |
| 939 |
A <code><a href=#the-p-element>p</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-p-element>p</a></code> element's <span title=syntax-end-tag>end |
| 940 |
tag</span> may be omitted if the <code><a href=#the-p-element>p</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-p-element>p</a></code> element is |
| 941 |
immediately followed by an <code><a href=#the-address-element>address</a></code>, |
immediately followed by an <code><a href=#the-address-element>address</a></code>, |
| 949 |
<code><a href=#the-p-element>p</a></code>, <code><a href=#the-pre-element>pre</a></code>, <code><a href=#the-section-element>section</a></code>, |
<code><a href=#the-p-element>p</a></code>, <code><a href=#the-pre-element>pre</a></code>, <code><a href=#the-section-element>section</a></code>, |
| 950 |
<code><a href=#the-table-element>table</a></code>, or <code><a href=#the-ul-element>ul</a></code>, element, or if there is no |
<code><a href=#the-table-element>table</a></code>, or <code><a href=#the-ul-element>ul</a></code>, element, or if there is no |
| 951 |
more content in the parent element and the parent element is not an |
more content in the parent element and the parent element is not an |
| 952 |
<code><a href=#the-a-element>a</a></code> element. |
<code><a href=#the-a-element>a</a></code> element. |
| 953 |
#ja |
#ja |
| 954 |
<code><a href=#the-p-element>p</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-p-element>p</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 955 |
<code><a href=#the-p-element>p</a></code> 要素の直後が |
<code><a href=#the-p-element>p</a></code> 要素の直後が |
| 956 |
<code><a href=#the-address-element>address</a></code>、 |
<code><a href=#the-address-element>address</a></code>、 |
| 964 |
<code><a href=#the-p-element>p</a></code>、<code><a href=#the-pre-element>pre</a></code>、<code><a href=#the-section-element>section</a></code>、 |
<code><a href=#the-p-element>p</a></code>、<code><a href=#the-pre-element>pre</a></code>、<code><a href=#the-section-element>section</a></code>、 |
| 965 |
<code><a href=#the-table-element>table</a></code>、 <code><a href=#the-ul-element>ul</a></code> のいずれかの要素の場合や親要素にそれ以上に内容がなく、親要素が |
<code><a href=#the-table-element>table</a></code>、 <code><a href=#the-ul-element>ul</a></code> のいずれかの要素の場合や親要素にそれ以上に内容がなく、親要素が |
| 966 |
<code><a href=#the-a-element>a</a></code> 要素ではない場合、 |
<code><a href=#the-a-element>a</a></code> 要素ではない場合、 |
| 967 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 968 |
|
|
| 969 |
#en |
#en |
| 970 |
An <code><a href=#the-rt-element>rt</a></code> element's <span title=syntax-end-tag>end |
An <code><a href=#the-rt-element>rt</a></code> element's <span title=syntax-end-tag>end |
| 971 |
tag</span> may be omitted if the <code><a href=#the-rt-element>rt</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-rt-element>rt</a></code> element is |
| 972 |
immediately followed by an <code><a href=#the-rt-element>rt</a></code> or <code><a href=#the-rp-element>rp</a></code> |
immediately followed by an <code><a href=#the-rt-element>rt</a></code> or <code><a href=#the-rp-element>rp</a></code> |
| 973 |
element, or if there is no more content in the parent element. |
element, or if there is no more content in the parent element. |
| 974 |
#ja |
#ja |
| 975 |
<code><a href=#the-rt-element>rt</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-rt-element>rt</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 976 |
<code><a href=#the-rt-element>rt</a></code> 要素の直後が |
<code><a href=#the-rt-element>rt</a></code> 要素の直後が |
| 977 |
<code><a href=#the-rt-element>rt</a></code> 要素や |
<code><a href=#the-rt-element>rt</a></code> 要素や |
| 978 |
<code><a href=#the-rp-element>rp</a></code> 要素でない場合や、 |
<code><a href=#the-rp-element>rp</a></code> 要素でない場合や、 |
| 979 |
親要素にそれ以上内容がない場合、 |
親要素にそれ以上内容がない場合、 |
| 980 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 981 |
|
|
| 982 |
#en |
#en |
| 983 |
An <code><a href=#the-rp-element>rp</a></code> element's <span title=syntax-end-tag>end |
An <code><a href=#the-rp-element>rp</a></code> element's <span title=syntax-end-tag>end |
| 984 |
tag</span> may be omitted if the <code><a href=#the-rp-element>rp</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-rp-element>rp</a></code> element is |
| 985 |
immediately followed by an <code><a href=#the-rt-element>rt</a></code> or <code><a href=#the-rp-element>rp</a></code> |
immediately followed by an <code><a href=#the-rt-element>rt</a></code> or <code><a href=#the-rp-element>rp</a></code> |
| 986 |
element, or if there is no more content in the parent element. |
element, or if there is no more content in the parent element. |
| 987 |
#ja |
#ja |
| 988 |
<code><a href=#the-rp-element>rp</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-rp-element>rp</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 989 |
<code><a href=#the-rp-element>rp</a></code> 要素の直後が |
<code><a href=#the-rp-element>rp</a></code> 要素の直後が |
| 990 |
<code><a href=#the-rt-element>rt</a></code> 要素や |
<code><a href=#the-rt-element>rt</a></code> 要素や |
| 991 |
<code><a href=#the-rp-element>rp</a></code> 要素の場合や、 |
<code><a href=#the-rp-element>rp</a></code> 要素の場合や、 |
| 992 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 993 |
|
|
| 994 |
#en |
#en |
| 995 |
An <code><a href=#the-optgroup-element>optgroup</a></code> element's <span title=syntax-end-tag>end tag</span> may be omitted if the |
An <code><a href=#the-optgroup-element>optgroup</a></code> element's <span title=syntax-end-tag>end tag</span> may be omitted if the |
| 996 |
<code><a href=#the-optgroup-element>optgroup</a></code> element <!--has an ancestor |
<code><a href=#the-optgroup-element>optgroup</a></code> element <!--has an ancestor |
| 997 |
<code>select</code> element and--> is immediately followed by |
<code>select</code> element and--> is immediately followed by |
| 999 |
that are ancestors of the <code>optgroup</code> element, up to and |
that are ancestors of the <code>optgroup</code> element, up to and |
| 1000 |
including the first ancestor element that is not an |
including the first ancestor element that is not an |
| 1001 |
<code>optgroup</code> element, have no more content--> there is no |
<code>optgroup</code> element, have no more content--> there is no |
| 1002 |
more content in the parent element. |
more content in the parent element. |
| 1003 |
#ja |
#ja |
| 1004 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1005 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素<!--has an ancestor |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素<!--has an ancestor |
| 1006 |
<code>select</code> element and-->の直後が |
<code>select</code> element and-->の直後が |
| 1009 |
that are ancestors of the <code>optgroup</code> element, up to and |
that are ancestors of the <code>optgroup</code> element, up to and |
| 1010 |
including the first ancestor element that is not an |
including the first ancestor element that is not an |
| 1011 |
<code>optgroup</code> element, have no more content-->親要素にそれ以上内容がない場合、 |
<code>optgroup</code> element, have no more content-->親要素にそれ以上内容がない場合、 |
| 1012 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 1013 |
|
|
| 1014 |
#en |
#en |
| 1015 |
An <code><a href=#the-option-element>option</a></code> element's <span title=syntax-end-tag>end |
An <code><a href=#the-option-element>option</a></code> element's <span title=syntax-end-tag>end |
| 1016 |
tag</span> may be omitted if the <code><a href=#the-option-element>option</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-option-element>option</a></code> element is |
| 1017 |
immediately followed by another <code><a href=#the-option-element>option</a></code> element, or if |
immediately followed by another <code><a href=#the-option-element>option</a></code> element, or if |
| 1018 |
it is immediately followed by an <code><a href=#the-optgroup-element>optgroup</a></code> element, or |
it is immediately followed by an <code><a href=#the-optgroup-element>optgroup</a></code> element, or |
| 1019 |
if there is no more content in the parent element. |
if there is no more content in the parent element. |
| 1020 |
#ja |
#ja |
| 1021 |
<code><a href=#the-option-element>option</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-option-element>option</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1022 |
<code><a href=#the-option-element>option</a></code> 要素の直後が別の |
<code><a href=#the-option-element>option</a></code> 要素の直後が別の |
| 1023 |
<code><a href=#the-option-element>option</a></code> 要素の場合や、 |
<code><a href=#the-option-element>option</a></code> 要素の場合や、 |
| 1024 |
直後が <code><a href=#the-optgroup-element>optgroup</a></code> 要素の場合や、 |
直後が <code><a href=#the-optgroup-element>optgroup</a></code> 要素の場合や、 |
| 1025 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1026 |
|
|
| 1027 |
#en |
#en |
| 1028 |
A <code><a href=#the-colgroup-element>colgroup</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
A <code><a href=#the-colgroup-element>colgroup</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
| 1029 |
first thing inside the <code><a href=#the-colgroup-element>colgroup</a></code> element is a |
first thing inside the <code><a href=#the-colgroup-element>colgroup</a></code> element is a |
| 1030 |
<code><a href=#the-col-element>col</a></code> element, and if the element is not immediately |
<code><a href=#the-col-element>col</a></code> element, and if the element is not immediately |
| 1031 |
preceded by another <code><a href=#the-colgroup-element>colgroup</a></code> element whose <span title=syntax-end-tag>end tag</span> has been omitted. |
preceded by another <code><a href=#the-colgroup-element>colgroup</a></code> element whose <span title=syntax-end-tag>end tag</span> has been omitted. |
| 1032 |
#ja |
#ja |
| 1033 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
| 1034 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の内側の最初のものが |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の内側の最初のものが |
| 1035 |
<code><a href=#the-col-element>col</a></code> 要素の場合で、 |
<code><a href=#the-col-element>col</a></code> 要素の場合で、 |
| 1036 |
直前が<span title=syntax-end-tag>終了タグ</span>の省略された別の |
直前が<span title=syntax-end-tag>終了タグ</span>の省略された別の |
| 1037 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素でない場合、 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素でない場合、 |
| 1038 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 1039 |
|
|
| 1040 |
#en |
#en |
| 1041 |
A <code><a href=#the-colgroup-element>colgroup</a></code> element's <span title=syntax-end-tag>end tag</span> may be omitted if the |
A <code><a href=#the-colgroup-element>colgroup</a></code> element's <span title=syntax-end-tag>end tag</span> may be omitted if the |
| 1042 |
<code><a href=#the-colgroup-element>colgroup</a></code> element is not immediately followed by a |
<code><a href=#the-colgroup-element>colgroup</a></code> element is not immediately followed by a |
| 1043 |
<a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>. |
<a href=#space-character>space character</a> or a <a href=#syntax-comments title=syntax-comments>comment</a>. |
| 1044 |
#ja |
#ja |
| 1045 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1046 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の直後が<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
<code><a href=#the-colgroup-element>colgroup</a></code> 要素の直後が<a href=#space-character>間隔文字</a>や<a href=#syntax-comments title=syntax-comments>注釈</a>でない場合、 |
| 1047 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 1048 |
|
|
| 1049 |
#en |
#en |
| 1050 |
A <code><a href=#the-thead-element>thead</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-thead-element>thead</a></code> element's <span title=syntax-end-tag>end |
| 1051 |
tag</span> may be omitted if the <code><a href=#the-thead-element>thead</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-thead-element>thead</a></code> element is |
| 1052 |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> or <code><a href=#the-tfoot-element>tfoot</a></code> |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> or <code><a href=#the-tfoot-element>tfoot</a></code> |
| 1053 |
element. |
element. |
| 1054 |
#ja |
#ja |
| 1055 |
<code><a href=#the-thead-element>thead</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-thead-element>thead</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1056 |
<code><a href=#the-thead-element>thead</a></code> 要素の直後が |
<code><a href=#the-thead-element>thead</a></code> 要素の直後が |
| 1057 |
<code><a href=#the-tbody-element>tbody</a></code> 要素や <code><a href=#the-tfoot-element>tfoot</a></code> |
<code><a href=#the-tbody-element>tbody</a></code> 要素や <code><a href=#the-tfoot-element>tfoot</a></code> |
| 1058 |
要素の場合、省略して[[MAY:構いません]]。 |
要素の場合、省略して[[MAY:構いません]]。 |
| 1059 |
|
|
| 1060 |
#en |
#en |
| 1061 |
A <code><a href=#the-tbody-element>tbody</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
A <code><a href=#the-tbody-element>tbody</a></code> element's <span title=syntax-start-tag>start tag</span> may be omitted if the |
| 1062 |
first thing inside the <code><a href=#the-tbody-element>tbody</a></code> element is a |
first thing inside the <code><a href=#the-tbody-element>tbody</a></code> element is a |
| 1063 |
<code><a href=#the-tr-element>tr</a></code> element, and if the element is not immediately |
<code><a href=#the-tr-element>tr</a></code> element, and if the element is not immediately |
| 1064 |
preceded by a <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-thead-element>thead</a></code>, or |
preceded by a <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-thead-element>thead</a></code>, or |
| 1065 |
<code><a href=#the-tfoot-element>tfoot</a></code> element whose <span title=syntax-end-tag>end |
<code><a href=#the-tfoot-element>tfoot</a></code> element whose <span title=syntax-end-tag>end |
| 1066 |
tag</span> has been omitted. |
tag</span> has been omitted. |
| 1067 |
#ja |
#ja |
| 1068 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の<span title=syntax-start-tag>開始タグ</span>は、 |
| 1069 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の内側の最初のものが |
<code><a href=#the-tbody-element>tbody</a></code> 要素の内側の最初のものが |
| 1070 |
<code><a href=#the-tr-element>tr</a></code> 要素の場合で、 |
<code><a href=#the-tr-element>tr</a></code> 要素の場合で、 |
| 1071 |
要素の直前が<span title=syntax-end-tag>終了タグ</span>の省略された |
要素の直前が<span title=syntax-end-tag>終了タグ</span>の省略された |
| 1072 |
<code><a href=#the-tbody-element>tbody</a></code> 要素、<code><a href=#the-thead-element>thead</a></code> 要素、 |
<code><a href=#the-tbody-element>tbody</a></code> 要素、<code><a href=#the-thead-element>thead</a></code> 要素、 |
| 1073 |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素でない場合、 |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素でない場合、 |
| 1074 |
省略して[[MAY:構いません]]。 |
省略して[[MAY:構いません]]。 |
| 1075 |
|
|
| 1076 |
#en |
#en |
| 1077 |
A <code><a href=#the-tbody-element>tbody</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-tbody-element>tbody</a></code> element's <span title=syntax-end-tag>end |
| 1078 |
tag</span> may be omitted if the <code><a href=#the-tbody-element>tbody</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-tbody-element>tbody</a></code> element is |
| 1079 |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> or <code><a href=#the-tfoot-element>tfoot</a></code> |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> or <code><a href=#the-tfoot-element>tfoot</a></code> |
| 1080 |
element, or if there is no more content in the parent element. |
element, or if there is no more content in the parent element. |
| 1081 |
#ja |
#ja |
| 1082 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1083 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の直後が |
<code><a href=#the-tbody-element>tbody</a></code> 要素の直後が |
| 1084 |
<code><a href=#the-tbody-element>tbody</a></code> 要素や <code><a href=#the-tfoot-element>tfoot</a></code> |
<code><a href=#the-tbody-element>tbody</a></code> 要素や <code><a href=#the-tfoot-element>tfoot</a></code> |
| 1085 |
要素の場合や、親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
要素の場合や、親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1086 |
|
|
| 1087 |
|
|
| 1088 |
#en |
#en |
| 1089 |
A <code><a href=#the-tfoot-element>tfoot</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-tfoot-element>tfoot</a></code> element's <span title=syntax-end-tag>end |
| 1090 |
tag</span> may be omitted if the <code><a href=#the-tfoot-element>tfoot</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-tfoot-element>tfoot</a></code> element is |
| 1091 |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> element, or if there is |
immediately followed by a <code><a href=#the-tbody-element>tbody</a></code> element, or if there is |
| 1092 |
no more content in the parent element. |
no more content in the parent element. |
| 1093 |
#ja |
#ja |
| 1094 |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1095 |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素の直後が |
<code><a href=#the-tfoot-element>tfoot</a></code> 要素の直後が |
| 1096 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の場合や、 |
<code><a href=#the-tbody-element>tbody</a></code> 要素の場合や、 |
| 1097 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1098 |
|
|
| 1099 |
#en |
#en |
| 1100 |
A <code><a href=#the-tr-element>tr</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-tr-element>tr</a></code> element's <span title=syntax-end-tag>end |
| 1101 |
tag</span> may be omitted if the <code><a href=#the-tr-element>tr</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-tr-element>tr</a></code> element is |
| 1102 |
immediately followed by another <code><a href=#the-tr-element>tr</a></code> element, or if there |
immediately followed by another <code><a href=#the-tr-element>tr</a></code> element, or if there |
| 1103 |
is no more content in the parent element. |
is no more content in the parent element. |
| 1104 |
#ja |
#ja |
| 1105 |
<code><a href=#the-tr-element>tr</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-tr-element>tr</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1106 |
<code><a href=#the-tr-element>tr</a></code> 要素の直後が別の |
<code><a href=#the-tr-element>tr</a></code> 要素の直後が別の |
| 1107 |
<code><a href=#the-tr-element>tr</a></code> 要素の場合や、 |
<code><a href=#the-tr-element>tr</a></code> 要素の場合や、 |
| 1108 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1109 |
|
|
| 1110 |
#en |
#en |
| 1111 |
A <code><a href=#the-td-element>td</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-td-element>td</a></code> element's <span title=syntax-end-tag>end |
| 1112 |
tag</span> may be omitted if the <code><a href=#the-td-element>td</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-td-element>td</a></code> element is |
| 1113 |
immediately followed by a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> |
immediately followed by a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> |
| 1114 |
element, or if there is no more content in the parent element. |
element, or if there is no more content in the parent element. |
| 1115 |
#ja |
#ja |
| 1116 |
<code><a href=#the-td-element>td</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
<code><a href=#the-td-element>td</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、 |
| 1117 |
<code><a href=#the-td-element>td</a></code> 要素の直後が |
<code><a href=#the-td-element>td</a></code> 要素の直後が |
| 1118 |
<code><a href=#the-td-element>td</a></code> 要素や |
<code><a href=#the-td-element>td</a></code> 要素や |
| 1119 |
<code><a href=#the-th-element>th</a></code> 要素の場合や、 |
<code><a href=#the-th-element>th</a></code> 要素の場合や、 |
| 1120 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1121 |
|
|
| 1122 |
|
|
| 1123 |
#en |
#en |
| 1124 |
A <code><a href=#the-th-element>th</a></code> element's <span title=syntax-end-tag>end |
A <code><a href=#the-th-element>th</a></code> element's <span title=syntax-end-tag>end |
| 1125 |
tag</span> may be omitted if the <code><a href=#the-th-element>th</a></code> element is |
tag</span> may be omitted if the <code><a href=#the-th-element>th</a></code> element is |
| 1126 |
immediately followed by a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> |
immediately followed by a <code><a href=#the-td-element>td</a></code> or <code><a href=#the-th-element>th</a></code> |
| 1127 |
element, or if there is no more content in the parent element. |
element, or if there is no more content in the parent element. |
| 1128 |
#ja |
#ja |
| 1129 |
<code><a href=#the-th-element>th</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、<code><a href=#the-th-element>th</a></code> 要素の直後が |
<code><a href=#the-th-element>th</a></code> 要素の<span title=syntax-end-tag>終了タグ</span>は、<code><a href=#the-th-element>th</a></code> 要素の直後が |
| 1130 |
<code><a href=#the-td-element>td</a></code> 要素や |
<code><a href=#the-td-element>td</a></code> 要素や |
| 1131 |
<code><a href=#the-th-element>th</a></code> 要素の場合や、 |
<code><a href=#the-th-element>th</a></code> 要素の場合や、 |
| 1132 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
親要素にそれ以上内容がない場合、省略して[[MAY:構いません]]。 |
| 1133 |
|
|
| 1134 |
|
|
| 1135 |
#en |
#en |
| 1136 |
<strong>However</strong>, a <span title=syntax-start-tag>start |
<strong>However</strong>, a <span title=syntax-start-tag>start |
| 1137 |
tag</span> must never be omitted if it has any attributes. |
tag</span> must never be omitted if it has any attributes. |
| 1138 |
#ja |
#ja |
| 1139 |
<strong>しかし</strong>、<span title=syntax-start-tag>開始タグ</span>が属性を持つ場合、 |
<strong>しかし</strong>、<span title=syntax-start-tag>開始タグ</span>が属性を持つ場合、 |
| 1140 |
開始タグを省略しては[[MUST:なりません]]。 |
開始タグを省略しては[[MUST:なりません]]。 |
| 1141 |
|
|
| 1142 |
#pattern |
#pattern |
| 1143 |
<span class=secno>* </span>Restrictions on content models |
<span class=secno>* </span>Restrictions on content models |
| 1144 |
#ja |
#ja |
| 1145 |
<span class=secno>$1 </span>内容モデルの制限 |
<span class=secno>$1 </span>内容モデルの制限 |
| 1146 |
|
|
| 1147 |
#en |
#en |
| 1148 |
For historical reasons, certain elements have extra restrictions |
For historical reasons, certain elements have extra restrictions |
| 1149 |
beyond even the restrictions given by their content model. |
beyond even the restrictions given by their content model. |
| 1150 |
#ja |
#ja |
| 1151 |
歴史的理由により、内容モデルによる制限以上の追加の制限を持つ要素がいくつかあります。 |
歴史的理由により、内容モデルによる制限以上の追加の制限を持つ要素がいくつかあります。 |
| 1152 |
|
|
| 1153 |
#en |
#en |
| 1154 |
An <code><a href=#the-optgroup-element>optgroup</a></code> element <!--that is a descendant of a |
An <code><a href=#the-optgroup-element>optgroup</a></code> element <!--that is a descendant of a |
| 1155 |
<code>select</code> element--> must not contain |
<code>select</code> element--> must not contain |
| 1156 |
<code><a href=#the-optgroup-element>optgroup</a></code> elements, even though these elements are |
<code><a href=#the-optgroup-element>optgroup</a></code> elements, even though these elements are |
| 1158 |
described in this specification. (If an <code><a href=#the-optgroup-element>optgroup</a></code> |
described in this specification. (If an <code><a href=#the-optgroup-element>optgroup</a></code> |
| 1159 |
element is put inside another <!--<code>optgroup</code> element |
element is put inside another <!--<code>optgroup</code> element |
| 1160 |
inside a <code>select</code> element--> in the markup, it will in |
inside a <code>select</code> element--> in the markup, it will in |
| 1161 |
fact imply an <code><a href=#the-optgroup-element>optgroup</a></code> end tag before it.) |
fact imply an <code><a href=#the-optgroup-element>optgroup</a></code> end tag before it.) |
| 1162 |
#ja |
#ja |
| 1163 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素は<!--that is a descendant of a |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素は<!--that is a descendant of a |
| 1164 |
<code>select</code> element-->、 |
<code>select</code> element-->、 |
| 1165 |
この仕様書で述べた内容モデルに従えば技術的には入れ子にできますが、 |
この仕様書で述べた内容モデルに従えば技術的には入れ子にできますが、 |
| 1170 |
inside a <code>select</code> element--> |
inside a <code>select</code> element--> |
| 1171 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素中に配置しても、 |
<code><a href=#the-optgroup-element>optgroup</a></code> 要素中に配置しても、 |
| 1172 |
実際にはその前に <code><a href=#the-optgroup-element>optgroup</a></code> |
実際にはその前に <code><a href=#the-optgroup-element>optgroup</a></code> |
| 1173 |
終了タグが暗示的に存在するものとみなされます。) |
終了タグが暗示的に存在するものとみなされます。) |
| 1174 |
|
|
| 1175 |
#en |
#en |
| 1176 |
A <code><a href=#the-table-element>table</a></code> element must not contain <code><a href=#the-tr-element>tr</a></code> |
A <code><a href=#the-table-element>table</a></code> element must not contain <code><a href=#the-tr-element>tr</a></code> |
| 1177 |
elements, even though these elements are technically allowed inside |
elements, even though these elements are technically allowed inside |
| 1178 |
<code><a href=#the-table-element>table</a></code> elements according to the content models |
<code><a href=#the-table-element>table</a></code> elements according to the content models |
| 1179 |
described in this specification. (If a <code><a href=#the-tr-element>tr</a></code> element is |
described in this specification. (If a <code><a href=#the-tr-element>tr</a></code> element is |
| 1180 |
put inside a <code><a href=#the-table-element>table</a></code> in the markup, it will in fact imply |
put inside a <code><a href=#the-table-element>table</a></code> in the markup, it will in fact imply |
| 1181 |
a <code><a href=#the-tbody-element>tbody</a></code> start tag before it.) |
a <code><a href=#the-tbody-element>tbody</a></code> start tag before it.) |
| 1182 |
#ja |
#ja |
| 1183 |
<code><a href=#the-table-element>table</a></code> |
<code><a href=#the-table-element>table</a></code> |
| 1184 |
要素はこの仕様書で述べた内容モデルに従えば技術的には内側で |
要素はこの仕様書で述べた内容モデルに従えば技術的には内側で |
| 1185 |
<code><a href=#the-tr-element>tr</a></code> 要素が認められていますが、 |
<code><a href=#the-tr-element>tr</a></code> 要素が認められていますが、 |
| 1187 |
要素は <code><a href=#the-tr-element>tr</a></code> 要素を含んでは[[MUST NOT:なりません]]。 |
要素は <code><a href=#the-tr-element>tr</a></code> 要素を含んでは[[MUST NOT:なりません]]。 |
| 1188 |
(<code><a href=#the-tr-element>tr</a></code> 要素がマーク付け中で |
(<code><a href=#the-tr-element>tr</a></code> 要素がマーク付け中で |
| 1189 |
<code><a href=#the-table-element>table</a></code> 要素の内側に置かれた場合、 |
<code><a href=#the-table-element>table</a></code> 要素の内側に置かれた場合、 |
| 1190 |
実際には前に <code><a href=#the-tbody-element>tbody</a></code> 開始タグが暗示的に存在するものとみなされます。) |
実際には前に <code><a href=#the-tbody-element>tbody</a></code> 開始タグが暗示的に存在するものとみなされます。) |
| 1191 |
|
|
| 1192 |
#en |
#en |
| 1193 |
A single U+000A LINE FEED (LF) character may be placed |
A single U+000A LINE FEED (LF) character may be placed |
| 1194 |
immediately after the <span title=syntax-start-tag>start |
immediately after the <span title=syntax-start-tag>start |
| 1195 |
tag</span> of <code><a href=#the-pre-element>pre</a></code> and <code><a href=#the-textarea-element>textarea</a></code> |
tag</span> of <code><a href=#the-pre-element>pre</a></code> and <code><a href=#the-textarea-element>textarea</a></code> |
| 1197 |
otherwise optional U+000A LINE FEED (LF) character <em>must</em> be |
otherwise optional U+000A LINE FEED (LF) character <em>must</em> be |
| 1198 |
included if the element's contents start with that character |
included if the element's contents start with that character |
| 1199 |
(because otherwise the leading newline in the contents would be |
(because otherwise the leading newline in the contents would be |
| 1200 |
treated like the optional newline, and ignored). |
treated like the optional newline, and ignored). |
| 1201 |
#ja |
#ja |
| 1202 |
<code><a href=#the-pre-element>pre</a></code> 要素と |
<code><a href=#the-pre-element>pre</a></code> 要素と |
| 1203 |
<code><a href=#the-textarea-element>textarea</a></code> |
<code><a href=#the-textarea-element>textarea</a></code> |
| 1204 |
要素の<span title=syntax-start-tag>開始タグ</span>の直後に1文字の |
要素の<span title=syntax-start-tag>開始タグ</span>の直後に1文字の |
| 1207 |
通常は任意選択のこの U+000A LINE FEED (LF) 文字は、 |
通常は任意選択のこの U+000A LINE FEED (LF) 文字は、 |
| 1208 |
要素の内容がこの文字から始まる場合には、含めなければ<em>[[MUST:なりません]]</em> |
要素の内容がこの文字から始まる場合には、含めなければ<em>[[MUST:なりません]]</em> |
| 1209 |
(そうしなければ、内容の最初の改行は任意選択の改行として扱われ、無視されるからです)。 |
(そうしなければ、内容の最初の改行は任意選択の改行として扱われ、無視されるからです)。 |
| 1210 |
|
|
| 1211 |
|
|
| 1212 |
#en |
#en |
| 1213 |
The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent: |
The following two <code><a href=#the-pre-element>pre</a></code> blocks are equivalent: |
| 1214 |
#ja |
#ja |
| 1215 |
次の2つの <code><a href=#the-pre-element>pre</a></code> |
次の2つの <code><a href=#the-pre-element>pre</a></code> |
| 1216 |
ブロックは等価です。 |
ブロックは等価です。 |
| 1217 |
|
|
| 1218 |
#en |
#en |
| 1219 |
<pre>Hello</pre> |
<pre>Hello</pre> |
| 1220 |
#ja |
#ja |
| 1221 |
<pre>こんにちは</pre> |
<pre>こんにちは</pre> |
| 1222 |
|
|
| 1223 |
#en |
#en |
| 1224 |
<pre><br>Hello</pre> |
<pre><br>Hello</pre> |
| 1225 |
#ja |
#ja |
| 1226 |
<pre><br>こんにちは</pre> |
<pre><br>こんにちは</pre> |
| 1227 |
|
|
| 1228 |
#en |
#en |
| 1229 |
<span class=secno>* </span>Restrictions on the contents of CDATA and RCDATA elements |
<span class=secno>* </span>Restrictions on the contents of CDATA and RCDATA elements |
| 1230 |
#ja |
#ja |
| 1231 |
<span class=secno>$1 </span>CDATA 要素や RCDATA 要素の内容の制限 |
<span class=secno>$1 </span>CDATA 要素や RCDATA 要素の内容の制限 |
| 1232 |
|
|
| 1233 |
#en |
#en |
| 1234 |
The text in CDATA and RCDATA elements must not contain any |
The text in CDATA and RCDATA elements must not contain any |
| 1235 |
occurrences of the string "<code title=""></</code>" (U+003C |
occurrences of the string "<code title=""></</code>" (U+003C |
| 1236 |
LESS-THAN SIGN, U+002F SOLIDUS) followed by characters that |
LESS-THAN SIGN, U+002F SOLIDUS) followed by characters that |
| 1237 |
case-insensitively match the tag name of the element followed by one |
case-insensitively match the tag name of the element followed by one |
| 1238 |
of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM |
of U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM |
| 1239 |
FEED (FF), U+0020 SPACE, U+003E GREATER-THAN SIGN (>), or U+002F |
FEED (FF), U+0020 SPACE, U+003E GREATER-THAN SIGN (>), or U+002F |
| 1240 |
SOLIDUS (/), unless that string is part of an <a href=#syntax-escape title=syntax-escape>escaping text span</a>. |
SOLIDUS (/), unless that string is part of an <a href=#syntax-escape title=syntax-escape>escaping text span</a>. |
| 1241 |
#ja |
#ja |
| 1242 |
CDATA 要素や RCDATA 要素のテキストは文字列「<code title=""></</code>」 (U+003C |
CDATA 要素や RCDATA 要素のテキストは文字列「<code title=""></</code>」 (U+003C |
| 1243 |
LESS-THAN SIGN、U+002F SOLIDUS) の後に要素のタグ名と大文字・小文字を区別しない場合に一致する文字が続き、 |
LESS-THAN SIGN、U+002F SOLIDUS) の後に要素のタグ名と大文字・小文字を区別しない場合に一致する文字が続き、 |
| 1244 |
その後に U+0009 CHARACTER TABULATION、U+000A LINE FEED (LF)、U+000C FORM |
その後に U+0009 CHARACTER TABULATION、U+000A LINE FEED (LF)、U+000C FORM |
| 1245 |
FEED (FF)、U+0020 SPACE、U+003E GREATER-THAN SIGN (>)、U+002F |
FEED (FF)、U+0020 SPACE、U+003E GREATER-THAN SIGN (>)、U+002F |
| 1246 |
SOLIDUS (/) |
SOLIDUS (/) |
| 1247 |
のいずれかが続くような列を、その文字列が<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の一部である場合を除き、 |
のいずれかが続くような列を、その文字列が<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の一部である場合を除き、 |
| 1248 |
含んでは[[MUST NOT:なりません]]。 |
含んでは[[MUST NOT:なりません]]。 |
| 1249 |
|
|
| 1250 |
#en |
#en |
| 1251 |
An <dfn id=syntax-escape title=syntax-escape>escaping text span</dfn> is a span |
An <dfn id=syntax-escape title=syntax-escape>escaping text span</dfn> is a span |
| 1252 |
of <a href=#syntax-text title=syntax-text>text</a> that starts with an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
of <a href=#syntax-text title=syntax-text>text</a> that starts with an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
| 1253 |
not itself in an <a href=#syntax-escape title=syntax-escape>escaping text |
not itself in an <a href=#syntax-escape title=syntax-escape>escaping text |
| 1254 |
span</a>, and ends at the next <a href=#syntax-escape-end title=syntax-escape-end>escaping text span end</a>. There |
span</a>, and ends at the next <a href=#syntax-escape-end title=syntax-escape-end>escaping text span end</a>. There |
| 1255 |
cannot be any <a href=#syntax-charref title=syntax-charref>character |
cannot be any <a href=#syntax-charref title=syntax-charref>character |
| 1256 |
references</a> inside an <a href=#syntax-escape title=syntax-escape>escaping |
references</a> inside an <a href=#syntax-escape title=syntax-escape>escaping |
| 1257 |
text span</a>. |
text span</a>. |
| 1258 |
#ja |
#ja |
| 1259 |
<dfn id=syntax-escape title=syntax-escape>逃避テキスト径間</dfn>は、 |
<dfn id=syntax-escape title=syntax-escape>逃避テキスト径間</dfn>は、 |
| 1260 |
<a href=#syntax-text title=syntax-text>テキスト</a>の径間であって、 |
<a href=#syntax-text title=syntax-text>テキスト</a>の径間であって、 |
| 1261 |
それ自体は<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>中にない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>によって始まり、 |
それ自体は<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>中にない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>によって始まり、 |
| 1262 |
次の<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間</a>によって終わるものです。 |
次の<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間</a>によって終わるものです。 |
| 1263 |
<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の内側には<a href=#syntax-charref title=syntax-charref>文字参照</a>を入れることができません。 |
<a href=#syntax-escape title=syntax-escape>逃避テキスト径間</a>の内側には<a href=#syntax-charref title=syntax-charref>文字参照</a>を入れることができません。 |
| 1264 |
|
|
| 1265 |
#en |
#en |
| 1266 |
An <dfn id=syntax-escape-start title=syntax-escape-start>escaping text span |
An <dfn id=syntax-escape-start title=syntax-escape-start>escaping text span |
| 1267 |
start</dfn> is a part of <a href=#syntax-text title=syntax-text>text</a> that |
start</dfn> is a part of <a href=#syntax-text title=syntax-text>text</a> that |
| 1268 |
consists of the four character sequence "<code title=""><!--</code>" (U+003C LESS-THAN SIGN, U+0021 EXCLAMATION |
consists of the four character sequence "<code title=""><!--</code>" (U+003C LESS-THAN SIGN, U+0021 EXCLAMATION |
| 1269 |
MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS). |
MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS). |
| 1270 |
#ja |
#ja |
| 1271 |
<dfn id=syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</dfn>は、 |
<dfn id=syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</dfn>は、 |
| 1272 |
<a href=#syntax-text title=syntax-text>テキスト</a>の一部で、 |
<a href=#syntax-text title=syntax-text>テキスト</a>の一部で、 |
| 1273 |
4文字の列「<code title=""><!--</code>」(U+003C LESS-THAN SIGN、U+0021 EXCLAMATION |
4文字の列「<code title=""><!--</code>」(U+003C LESS-THAN SIGN、U+0021 EXCLAMATION |
| 1274 |
MARK、U+002D HYPHEN-MINUS、U+002D HYPHEN-MINUS) です。 |
MARK、U+002D HYPHEN-MINUS、U+002D HYPHEN-MINUS) です。 |
| 1275 |
|
|
| 1276 |
#en |
#en |
| 1277 |
An <a href=#syntax-escape-start title=syntax-escape-start>escaping text span |
An <a href=#syntax-escape-start title=syntax-escape-start>escaping text span |
| 1278 |
start</a> may share its U+002D HYPHEN-MINUS characters with its |
start</a> may share its U+002D HYPHEN-MINUS characters with its |
| 1279 |
corresponding <a href=#syntax-escape-end title=syntax-escape-end>escaping text span |
corresponding <a href=#syntax-escape-end title=syntax-escape-end>escaping text span |
| 1280 |
end</a>. |
end</a>. |
| 1281 |
#ja |
#ja |
| 1282 |
<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>は、 |
<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>は、 |
| 1283 |
その U+002D HYPHEN-MINUS 文字を対応する<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>と共有して[[MAY:構いません]]。 |
その U+002D HYPHEN-MINUS 文字を対応する<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>と共有して[[MAY:構いません]]。 |
| 1284 |
|
|
| 1285 |
#en |
#en |
| 1286 |
The text in CDATA and RCDATA elements must not have an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
The text in CDATA and RCDATA elements must not have an <a href=#syntax-escape-start title=syntax-escape-start>escaping text span start</a> that is |
| 1287 |
not followed by an <a href=#syntax-escape-end title=syntax-escape-end>escaping text |
not followed by an <a href=#syntax-escape-end title=syntax-escape-end>escaping text |
| 1288 |
span end</a>. |
span end</a>. |
| 1289 |
#ja |
#ja |
| 1290 |
CDATA 要素と RCDATA 要素のテキストは<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>が後に続かない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>を含んでは[[MUST NOT:なりません]]。 |
CDATA 要素と RCDATA 要素のテキストは<a href=#syntax-escape-end title=syntax-escape-end>逃避テキスト径間終了</a>が後に続かない<a href=#syntax-escape-start title=syntax-escape-start>逃避テキスト径間開始</a>を含んでは[[MUST NOT:なりません]]。 |
| 1291 |
|
|
| 1292 |
#pattern |
#pattern |
| 1293 |
<span class=secno>* </span>Text |
<span class=secno>* </span>Text |
| 1294 |
#ja |
#ja |
| 1295 |
<span class=secno>$1 </span>テキスト |
<span class=secno>$1 </span>テキスト |
| 1296 |
|
|
| 1297 |
#en |
#en |
| 1298 |
<dfn id=syntax-text title=syntax-text>Text</dfn> is allowed inside elements, |
<dfn id=syntax-text title=syntax-text>Text</dfn> is allowed inside elements, |
| 1299 |
attributes, and comments. Text must consist of Unicode characters. |
attributes, and comments. Text must consist of Unicode characters. |
| 1300 |
Text must not contain U+0000 characters. Text must not contain |
Text must not contain U+0000 characters. Text must not contain |
| 1302 |
control characters other than <a href=#space-character title="space character">space |
control characters other than <a href=#space-character title="space character">space |
| 1303 |
characters</a>. Extra constraints are placed on what is and what |
characters</a>. Extra constraints are placed on what is and what |
| 1304 |
is not allowed in text based on where the text is to be put, as |
is not allowed in text based on where the text is to be put, as |
| 1305 |
described in the other sections. |
described in the other sections. |
| 1306 |
#ja |
#ja |
| 1307 |
<dfn id=syntax-text title=syntax-text>テキスト</dfn>は要素、 |
<dfn id=syntax-text title=syntax-text>テキスト</dfn>は要素、 |
| 1308 |
属性、注釈の内側で認められています。 |
属性、注釈の内側で認められています。 |
| 1309 |
テキストは Unicode 文字で構成されなければ[[MUST:なりません]]。 |
テキストは Unicode 文字で構成されなければ[[MUST:なりません]]。 |
| 1312 |
テキストは<a href=#space-character title="space character">間隔文字</a>以外の制御文字を含んでは[[MUST NOT:なりません]]。 |
テキストは<a href=#space-character title="space character">間隔文字</a>以外の制御文字を含んでは[[MUST NOT:なりません]]。 |
| 1313 |
他の節で述べた通り、テキストが配置される場所によって、テキスト中で何が認められ、 |
他の節で述べた通り、テキストが配置される場所によって、テキスト中で何が認められ、 |
| 1314 |
何が認められないかの追加の制約があります。 |
何が認められないかの追加の制約があります。 |
| 1315 |
|
|
| 1316 |
|
|
| 1317 |
#pattern |
#pattern |
| 1318 |
<span class=secno>* </span>Newlines |
<span class=secno>* </span>Newlines |
| 1319 |
#ja |
#ja |
| 1320 |
<span class=secno>$1 </span>改行 |
<span class=secno>$1 </span>改行 |
| 1321 |
|
|
| 1322 |
#en |
#en |
| 1323 |
<dfn id=syntax-newlines title=syntax-newlines>Newlines</dfn> in HTML may be |
<dfn id=syntax-newlines title=syntax-newlines>Newlines</dfn> in HTML may be |
| 1324 |
represented either as U+000D CARRIAGE RETURN (CR) characters, U+000A |
represented either as U+000D CARRIAGE RETURN (CR) characters, U+000A |
| 1325 |
LINE FEED (LF) characters, or pairs of U+000D CARRIAGE RETURN (CR), |
LINE FEED (LF) characters, or pairs of U+000D CARRIAGE RETURN (CR), |
| 1326 |
U+000A LINE FEED (LF) characters in that order. |
U+000A LINE FEED (LF) characters in that order. |
| 1327 |
#ja |
#ja |
| 1328 |
HTML の<dfn id=syntax-newlines title=syntax-newlines>改行</dfn>は |
HTML の<dfn id=syntax-newlines title=syntax-newlines>改行</dfn>は |
| 1329 |
U+000D CARRIAGE RETURN (CR) 文字か、U+000A |
U+000D CARRIAGE RETURN (CR) 文字か、U+000A |
| 1330 |
LINE FEED (LF) 文字か、U+000D CARRIAGE RETURN (CR) 文字と |
LINE FEED (LF) 文字か、U+000D CARRIAGE RETURN (CR) 文字と |
| 1331 |
U+000A LINE FEED (LF) 文字の組をこの順序で用いるかのいずれかによって表現して[[MAY:構いません]]。 |
U+000A LINE FEED (LF) 文字の組をこの順序で用いるかのいずれかによって表現して[[MAY:構いません]]。 |
| 1332 |
|
|
| 1333 |
|
|
| 1334 |
#pattern |
#pattern |
| 1335 |
<span class=secno>* </span>Character references |
<span class=secno>* </span>Character references |
| 1336 |
#ja |
#ja |
| 1337 |
<span class=secno>$1 </span>文字参照 |
<span class=secno>$1 </span>文字参照 |
| 1338 |
|
|
| 1339 |
#en |
#en |
| 1340 |
In certain cases described in other sections, <a href=#syntax-text title=syntax-text>text</a> may be mixed with <dfn id=syntax-charref title=syntax-charref>character references</dfn>. These can be used |
In certain cases described in other sections, <a href=#syntax-text title=syntax-text>text</a> may be mixed with <dfn id=syntax-charref title=syntax-charref>character references</dfn>. These can be used |
| 1341 |
to escape characters that couldn't otherwise legally be included in |
to escape characters that couldn't otherwise legally be included in |
| 1342 |
<a href=#syntax-text title=syntax-text>text</a>. |
<a href=#syntax-text title=syntax-text>text</a>. |
| 1343 |
#ja |
#ja |
| 1344 |
他の節で述べたいくつかの場合において、<a href=#syntax-text title=syntax-text>テキスト</a>には |
他の節で述べたいくつかの場合において、<a href=#syntax-text title=syntax-text>テキスト</a>には |
| 1345 |
<dfn id=syntax-charref title=syntax-charref>文字参照</dfn>を混在させて[[MAY:構いません]]。 |
<dfn id=syntax-charref title=syntax-charref>文字参照</dfn>を混在させて[[MAY:構いません]]。 |
|
文字参照は、通常合法的に<a href=#syntax-text title=syntax-text>テキスト</a>に含めることができない文字を逃避するために使うことができます。 |
|
| 1346 |
|
文字参照は、通常合法的に<a href=#syntax-text title=syntax-text>テキスト</a>に含めることができない文字を逃避するために使うことができます。 |
| 1347 |
|
|
| 1348 |
|
#en |
| 1349 |
|
Character references must start with a U+0026 AMPERSAND |
| 1350 |
|
(<code>&</code>). Following this, there are three possible kinds |
| 1351 |
|
of character references: |
| 1352 |
|
#ja |
| 1353 |
|
文字参照は、U+0026 AMPERSAND |
| 1354 |
|
(<code>&</code>) により始まらなければ[[MUST:なりません]]。 |
| 1355 |
|
この文字に続けて、3種類の文字参照があります。 |
| 1356 |
|
|
| 1357 |
|
#en |
| 1358 |
|
Named character references |
| 1359 |
|
#ja |
| 1360 |
|
名前付き文字参照 |
| 1361 |
|
|
| 1362 |
|
#en |
| 1363 |
|
The ampersand must be followed by one of the names given in the |
| 1364 |
|
<a href=#named-character-references>named character references</a> section, using the same |
| 1365 |
|
case. The name must be one that is terminated by a U+003B SEMICOLON |
| 1366 |
|
(<code title="">;</code>) character. |
| 1367 |
|
#ja |
| 1368 |
|
アンド記号の後には、 |
| 1369 |
|
<a href=#named-character-references>名前付き文字参照</a>の節にある名前のいずれかを、 |
| 1370 |
|
同じ大文字・小文字の組み合わせによって続けなければ[[MUST:なりません]]。 |
| 1371 |
|
名前は U+003B SEMICOLON |
| 1372 |
|
(<code title="">;</code>) 文字で終わるものでなければ[[MUST:なりません]]。 |
| 1373 |
|
|
| 1374 |
|
#en |
| 1375 |
|
Decimal numeric character reference |
| 1376 |
|
#ja |
| 1377 |
|
十進数値文字参照 |
| 1378 |
|
|
| 1379 |
|
#en |
| 1380 |
|
The ampersand must be followed by a U+0023 NUMBER SIGN |
| 1381 |
|
(<code>#</code>) character, followed by one or more digits in the |
| 1382 |
|
range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, representing a |
| 1383 |
|
base-ten integer that itself is a Unicode code point that is |
| 1384 |
|
not U+0000, U+000D, in the range U+0080 .. U+009F, or in the range |
| 1385 |
|
0xD800 .. 0xDFFF (surrogates). The digits must then be followed by |
| 1386 |
|
a U+003B SEMICOLON character (<code title="">;</code>). |
| 1387 |
|
#ja |
| 1388 |
|
アンド記号の後には、 U+0023 NUMBER SIGN |
| 1389 |
|
(<code>#</code>) 文字が続き、 Unicode 符号位置であって |
| 1390 |
|
U+0000、U+000D、範囲 U+0080 ~ U+009F、範囲 0xD800~0xDFFF (代理) |
| 1391 |
|
でない十進整数を表す1文字以上の範囲 U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE |
| 1392 |
|
の数字が続かなければ[[MUST:なりません]]。 |
| 1393 |
|
数字の後には U+003B SEMICOLON 文字 (<code title="">;</code>) |
| 1394 |
|
が続かなければ[[MUST:なりません]]。 |
| 1395 |
|
|
| 1396 |
|
#en |
| 1397 |
|
Hexadecimal numeric character reference |
| 1398 |
|
#ja |
| 1399 |
|
十六進数値文字参照 |
| 1400 |
|
|
| 1401 |
|
#en |
| 1402 |
|
The ampersand must be followed by a U+0023 NUMBER SIGN |
| 1403 |
|
(<code>#</code>) character, which must be followed by either a |
| 1404 |
|
U+0078 LATIN SMALL LETTER X or a U+0058 LATIN CAPITAL LETTER X |
| 1405 |
|
character, which must then be followed by one or more digits in the |
| 1406 |
|
range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0061 LATIN SMALL |
| 1407 |
|
LETTER A .. U+0066 LATIN SMALL LETTER F, and U+0041 LATIN CAPITAL |
| 1408 |
|
LETTER A .. U+0046 LATIN CAPITAL LETTER F, representing a |
| 1409 |
|
base-sixteen integer that itself is a Unicode code point that is |
| 1410 |
|
not U+0000, U+000D, in the range U+0080 .. U+009F, or in the range |
| 1411 |
|
0xD800 .. 0xDFFF (surrogates). The digits must then be followed by |
| 1412 |
|
a U+003B SEMICOLON character (<code title="">;</code>). |
| 1413 |
|
#ja |
| 1414 |
|
アンド記号の後には、 U+0023 NUMBER SIGN |
| 1415 |
|
(<code>#</code>) 文字が続き、その後に U+0078 LATIN SMALL LETTER X 文字か |
| 1416 |
|
U+0058 LATIN CAPITAL LETTER X 文字が続き、その後に |
| 1417 |
|
Unicode 符号位置であって |
| 1418 |
|
U+0000、U+000D、範囲 U+0080 ~ U+009F、 |
| 1419 |
|
範囲 0xD800 .. 0xDFFF (代理) |
| 1420 |
|
でない十六進整数を表す1文字以上の範囲 |
| 1421 |
|
U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE、U+0061 LATIN SMALL |
| 1422 |
|
LETTER A ~ U+0066 LATIN SMALL LETTER F、 U+0041 LATIN CAPITAL |
| 1423 |
|
LETTER A ~ U+0046 LATIN CAPITAL LETTER F |
| 1424 |
|
の数字が続かなければ[[MUST:なりません]]。 |
| 1425 |
|
数字の後には U+003B SEMICOLON 文字 (<code title="">;</code>) |
| 1426 |
|
が続かなければ[[MUST:なりません]]。 |
| 1427 |
|
|
| 1428 |
|
#en |
| 1429 |
|
An <dfn id=syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous |
| 1430 |
|
ampersand</dfn> is a U+0026 AMPERSAND (<code>&</code>) character |
| 1431 |
|
that is followed by some <a href=#syntax-text title=syntax-text>text</a> other |
| 1432 |
|
than a <a href=#space-character>space character</a>, a U+003C LESS-THAN SIGN |
| 1433 |
|
character ('<'), or another U+0026 AMPERSAND (<code>&</code>) |
| 1434 |
|
character. |
| 1435 |
|
#ja |
| 1436 |
|
<dfn id=syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</dfn>は、 |
| 1437 |
|
<a href=#space-character>間隔文字</a>、U+003C LESS-THAN SIGN |
| 1438 |
|
文字 ('<')、別の U+0026 AMPERSAND (<code>&</code>) 文字以外の |
| 1439 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>が続く |
| 1440 |
|
U+0026 AMPERSAND (<code>&</code>) 文字です。 |
| 1441 |
|
|
| 1442 |
|
|
| 1443 |
|
#pattern |
| 1444 |
|
<span class=secno>* </span>CDATA sections |
| 1445 |
|
#ja |
| 1446 |
|
<span class=secno>$1 </span>CDATA 区間 |
| 1447 |
|
|
| 1448 |
|
#en |
| 1449 |
|
<dfn id=syntax-cdata title=syntax-cdata>CDATA sections</dfn> must start with |
| 1450 |
|
the character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION |
| 1451 |
|
MARK, U+005B LEFT SQUARE BRACKET, U+0043 LATIN CAPITAL LETTER C, |
| 1452 |
|
U+0044 LATIN CAPITAL LETTER D, U+0041 LATIN CAPITAL LETTER A, U+0054 |
| 1453 |
|
LATIN CAPITAL LETTER T, U+0041 LATIN CAPITAL LETTER A, U+005B LEFT |
| 1454 |
|
SQUARE BRACKET (<code title=""><![CDATA[</code>). Following this |
| 1455 |
|
sequence, the CDATA section may have <a href=#syntax-text title=syntax-text>text</a>, with the additional restriction |
| 1456 |
|
that the text must not contain the three character sequence U+005D |
| 1457 |
|
RIGHT SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E |
| 1458 |
|
GREATER-THAN SIGN (<code title="">]]></code>). Finally, the CDATA |
| 1459 |
|
section must be ended by the three character sequence U+005D RIGHT |
| 1460 |
|
SQUARE BRACKET, U+005D RIGHT SQUARE BRACKET, U+003E GREATER-THAN |
| 1461 |
|
SIGN (<code title="">]]></code>). |
| 1462 |
|
#ja |
| 1463 |
|
<dfn id=syntax-cdata title=syntax-cdata>CDATA 区間</dfn>は、 |
| 1464 |
|
文字列 U+003C LESS-THAN SIGN、U+0021 EXCLAMATION |
| 1465 |
|
MARK、U+005B LEFT SQUARE BRACKET、U+0043 LATIN CAPITAL LETTER C、 |
| 1466 |
|
U+0044 LATIN CAPITAL LETTER D、U+0041 LATIN CAPITAL LETTER A、U+0054 |
| 1467 |
|
LATIN CAPITAL LETTER T、U+0041 LATIN CAPITAL LETTER A、U+005B LEFT |
| 1468 |
|
SQUARE BRACKET (<code title=""><![CDATA[</code>) で始まらなければ[[MUST:なりません]]。 |
| 1469 |
|
CDATA 区間は、この文字列に続けて、 |
| 1470 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>を持って[[MAY:構いません]]。 |
| 1471 |
|
ただし、追加の制限として、このテキストは3文字の列 U+005D |
| 1472 |
|
RIGHT SQUARE BRACKET、U+005D RIGHT SQUARE BRACKET、U+003E |
| 1473 |
|
GREATER-THAN SIGN (<code title="">]]></code>) を含んでは[[MUST NOT:なりません]]。 |
| 1474 |
|
最後に、CDATA 区間は、3文字の列 U+005D RIGHT |
| 1475 |
|
SQUARE BRACKET、U+005D RIGHT SQUARE BRACKET、U+003E GREATER-THAN |
| 1476 |
|
SIGN (<code title="">]]></code>) で終わらなければ[[MUST:なりません]]。 |
| 1477 |
|
|
| 1478 |
|
#pattern |
| 1479 |
|
<span class=secno>* </span>Comments |
| 1480 |
|
#ja |
| 1481 |
|
<span class=secno>$1 </span>注釈 |
| 1482 |
|
|
| 1483 |
|
#en |
| 1484 |
|
<dfn id=syntax-comments title=syntax-comments>Comments</dfn> must start with the |
| 1485 |
|
four character sequence U+003C LESS-THAN SIGN, U+0021 EXCLAMATION |
| 1486 |
|
MARK, U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS (<code title=""><!--</code>). Following this sequence, the comment may |
| 1487 |
|
have <a href=#syntax-text title=syntax-text>text</a>, with the additional |
| 1488 |
|
restriction that the text must not start with a single U+003E |
| 1489 |
|
GREATER-THAN SIGN ('>') character, nor start with a U+002D |
| 1490 |
|
HYPHEN-MINUS (<code title="">-</code>) character followed by a |
| 1491 |
|
U+003E GREATER-THAN SIGN ('>') character, nor contain two |
| 1492 |
|
consecutive U+002D HYPHEN-MINUS (<code title="">-</code>) |
| 1493 |
|
characters, nor end with a U+002D HYPHEN-MINUS (<code title="">-</code>) character. Finally, the comment must be ended by |
| 1494 |
|
the three character sequence U+002D HYPHEN-MINUS, U+002D |
| 1495 |
|
HYPHEN-MINUS, U+003E GREATER-THAN SIGN (<code title="">--></code>). |
| 1496 |
|
#ja |
| 1497 |
|
<dfn id=syntax-comments title=syntax-comments>注釈</dfn>は、 |
| 1498 |
|
4文字の列 U+003C LESS-THAN SIGN、U+0021 EXCLAMATION |
| 1499 |
|
MARK、U+002D HYPHEN-MINUS、U+002D HYPHEN-MINUS (<code title=""><!--</code>) |
| 1500 |
|
で始まらなければ[[MUST:なりません]]。 |
| 1501 |
|
注釈は、この文字列に続けて、 |
| 1502 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>を持って[[MAY:構いません]]。 |
| 1503 |
|
ただし、追加の制限として、このテキストは U+003E |
| 1504 |
|
GREATER-THAN SIGN ('>') 文字1文字から始まったり、 U+002D |
| 1505 |
|
HYPHEN-MINUS (<code title="">-</code>) 文字の後に |
| 1506 |
|
U+003E GREATER-THAN SIGN ('>') 文字が続く列から始まったり、 |
| 1507 |
|
2つの連続する U+002D HYPHEN-MINUS (<code title="">-</code>) |
| 1508 |
|
文字を含んだり、 U+002D HYPHEN-MINUS (<code title="">-</code>) 文字で終わったりしては[[MUST NOT:なりません]]。 |
| 1509 |
|
最後に、注釈は3文字の列 U+002D HYPHEN-MINUS、U+002D |
| 1510 |
|
HYPHEN-MINUS、U+003E GREATER-THAN SIGN (<code title="">--></code>) |
| 1511 |
|
で終わらなければ[[MUST:なりません]]。 |
| 1512 |
|
|
| 1513 |
|
#en |
| 1514 |
|
This specification defines the parsing rules for HTML documents, |
| 1515 |
|
whether they are syntactically correct or not. Certain points in the |
| 1516 |
|
parsing algorithm are said to be <dfn id=parse-error title="parse error">parse |
| 1517 |
|
errors</dfn>. The error handling for parse errors is well-defined: |
| 1518 |
|
user agents must either act as described below when encountering |
| 1519 |
|
such problems, or must abort processing at the first error that they |
| 1520 |
|
encounter for which they do not wish to apply the rules described |
| 1521 |
|
below. |
| 1522 |
|
#ja |
| 1523 |
|
この仕様書は、 HTML 文書を、それが構文的に正しいか否かによらず、その構文解析を行うための規則を定義します。 |
| 1524 |
|
この構文解析算法のいくつかの地点は<dfn id=parse-error title="parse error">構文解析誤り</dfn>であるといいます。 |
| 1525 |
|
構文解析誤りの誤りの取り扱いは明確に定義するところであり、 |
| 1526 |
|
利用者エージェントは、 |
| 1527 |
|
そのような問題に遭遇した時に後述の通りに作用するか、 |
| 1528 |
|
または後述の規則を適用したくないような最初の誤りの時点で処理を停止するかのいずれかでなければ[[MUST NOT:なりません]]。 |