| 1144 |
tag</span> must never be omitted if it has any attributes. |
tag</span> must never be omitted if it has any attributes. |
| 1145 |
#ja |
#ja |
| 1146 |
<strong>しかし</strong>、<span title=syntax-start-tag>開始タグ</span>が属性を持つ場合、 |
<strong>しかし</strong>、<span title=syntax-start-tag>開始タグ</span>が属性を持つ場合、 |
|
開始タグを省略しては[[MUST:なりません]]。 |
|
| 1147 |
|
開始タグを省略しては[[MUST:なりません]]。 |
| 1148 |
|
|
| 1149 |
|
#pattern |
| 1150 |
|
<span class=secno>* </span>Restrictions on content models |
| 1151 |
|
#ja |
| 1152 |
|
<span class=secno>$1 </span>内容モデルの制限 |
| 1153 |
|
|
| 1154 |
|
#en |
| 1155 |
|
For historical reasons, certain elements have extra restrictions |
| 1156 |
|
beyond even the restrictions given by their content model. |
| 1157 |
|
#ja |
| 1158 |
|
歴史的理由により、内容モデルによる制限以上の追加の制限を持つ要素がいくつかあります。 |
| 1159 |
|
|
| 1160 |
|
#en |
| 1161 |
|
An <code><a href=#the-optgroup-element>optgroup</a></code> element <!--that is a descendant of a |
| 1162 |
|
<code>select</code> element--> must not contain |
| 1163 |
|
<code><a href=#the-optgroup-element>optgroup</a></code> elements, even though these elements are |
| 1164 |
|
technically allowed to be nested according to the content models |
| 1165 |
|
described in this specification. (If an <code><a href=#the-optgroup-element>optgroup</a></code> |
| 1166 |
|
element is put inside another <!--<code>optgroup</code> element |
| 1167 |
|
inside a <code>select</code> element--> in the markup, it will in |
| 1168 |
|
fact imply an <code><a href=#the-optgroup-element>optgroup</a></code> end tag before it.) |
| 1169 |
|
#ja |
| 1170 |
|
<code><a href=#the-optgroup-element>optgroup</a></code> 要素は<!--that is a descendant of a |
| 1171 |
|
<code>select</code> element-->、 |
| 1172 |
|
この仕様書で述べた内容モデルに従えば技術的には入れ子にできますが、 |
| 1173 |
|
<code><a href=#the-optgroup-element>optgroup</a></code> |
| 1174 |
|
要素を含んでは[[MUST NOT:なりません]]。 |
| 1175 |
|
(<code><a href=#the-optgroup-element>optgroup</a></code> |
| 1176 |
|
要素をマーク付け中で別の<!--<code>optgroup</code> element |
| 1177 |
|
inside a <code>select</code> element--> |
| 1178 |
|
<code><a href=#the-optgroup-element>optgroup</a></code> 要素中に配置しても、 |
| 1179 |
|
実際にはその前に <code><a href=#the-optgroup-element>optgroup</a></code> |
| 1180 |
|
終了タグが暗示的に存在するものとみなされます。) |
| 1181 |
|
|
| 1182 |
|
#en |
| 1183 |
|
A <code><a href=#the-table-element>table</a></code> element must not contain <code><a href=#the-tr-element>tr</a></code> |
| 1184 |
|
elements, even though these elements are technically allowed inside |
| 1185 |
|
<code><a href=#the-table-element>table</a></code> elements according to the content models |
| 1186 |
|
described in this specification. (If a <code><a href=#the-tr-element>tr</a></code> element is |
| 1187 |
|
put inside a <code><a href=#the-table-element>table</a></code> in the markup, it will in fact imply |
| 1188 |
|
a <code><a href=#the-tbody-element>tbody</a></code> start tag before it.) |
| 1189 |
|
#ja |
| 1190 |
|
<code><a href=#the-table-element>table</a></code> |
| 1191 |
|
要素はこの仕様書で述べた内容モデルに従えば技術的には内側で |
| 1192 |
|
<code><a href=#the-tr-element>tr</a></code> 要素が認められていますが、 |
| 1193 |
|
<code><a href=#the-table-element>table</a></code> |
| 1194 |
|
要素は <code><a href=#the-tr-element>tr</a></code> 要素を含んでは[[MUST NOT:なりません]]。 |
| 1195 |
|
(<code><a href=#the-tr-element>tr</a></code> 要素がマーク付け中で |
| 1196 |
|
<code><a href=#the-table-element>table</a></code> 要素の内側に置かれた場合、 |
| 1197 |
|
実際には前に <code><a href=#the-tbody-element>tbody</a></code> 開始タグが暗示的に存在するものとみなされます。) |