| 31 |
任意選択で、1つの U+FEFF BYTE ORDER MARK (BOM) 文字。 |
任意選択で、1つの U+FEFF BYTE ORDER MARK (BOM) 文字。 |
| 32 |
|
|
| 33 |
#en |
#en |
| 34 |
Any number of <a href="#comments0" title=syntax-comments>comments</a> |
Any number of <a href=#syntax-comments title=syntax-comments>comments</a> |
| 35 |
and <a href="#space" title="space character">space characters</a>. |
and <a href=#space-character title="space character">space characters</a>. |
| 36 |
#ja |
#ja |
| 37 |
任意の個数の<a href="#comments0" title=syntax-comments>注釈</a>と<a href="#space" title="space character">間隔文字</a>。 |
任意の個数の<a href=#syntax-comments title=syntax-comments>注釈</a>と<a href=#space-character title="space character">間隔文字</a>。 |
| 38 |
|
|
| 39 |
#en |
#en |
| 40 |
A <a href="#doctype5" title=syntax-doctype>DOCTYPE</a>. |
A <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>. |
| 41 |
#ja |
#ja |
| 42 |
<a href="#doctype5" title=syntax-doctype>DOCTYPE</a>。 |
<a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>。 |
| 43 |
|
|
| 44 |
#en |
#en |
| 45 |
The root element, in the form of an <code><a |
The root element, in the form of an <code><a |
| 46 |
href="#html">html</a></code> <a href="#elements3" |
href=#the-html-element>html</a></code> <a href=#dom-form-elements |
| 47 |
title=syntax-elements>element</a>. |
title=syntax-elements>element</a>. |
| 48 |
#ja |
#ja |
| 49 |
根要素を <code><a |
根要素を <code><a |
| 50 |
href="#html">html</a></code> <a href="#elements3" |
href=#the-html-element>html</a></code> <a href=#dom-form-elements |
| 51 |
title=syntax-elements>要素</a>の形で。 |
title=syntax-elements>要素</a>の形で。 |
| 52 |
|
|
| 53 |
#en |
#en |
| 65 |
それに関する節で説明した通り、いくつかの制限があります。 |
それに関する節で説明した通り、いくつかの制限があります。 |
| 66 |
|
|
| 67 |
#en |
#en |
| 68 |
Space characters before the root <code><a href="#html">html</a></code> |
Space characters before the root <code><a href=#the-html-element>html</a></code> |
| 69 |
element, and space characters at the start of the <code><a |
element, and space characters at the start of the <code><a |
| 70 |
href="#html">html</a></code> element and before the <code><a |
href=#the-html-element>html</a></code> element and before the <code><a |
| 71 |
href="#head">head</a></code> element, will be dropped when the document |
href=#the-head-element>head</a></code> element, will be dropped when the document |
| 72 |
is parsed; space characters <em>after</em> the root <code><a |
is parsed; space characters <em>after</em> the root <code><a |
| 73 |
href="#html">html</a></code> element will be parsed as if they were at |
href=#the-html-element>html</a></code> element will be parsed as if they were at |
| 74 |
the end of the <code><a href="#body0">body</a></code> element. Thus, |
the end of the <code><a href=#the-body-element>body</a></code> element. Thus, |
| 75 |
space characters around the root element do not round-trip. |
space characters around the root element do not round-trip. |
| 76 |
#ja |
#ja |
| 77 |
根 <code><a href="#html">html</a></code> 要素の前の間隔文字や、 |
根 <code><a href=#the-html-element>html</a></code> 要素の前の間隔文字や、 |
| 78 |
<code><a |
<code><a |
| 79 |
href="#html">html</a></code> 要素のはじめで <code><a |
href=#the-html-element>html</a></code> 要素のはじめで <code><a |
| 80 |
href="#head">head</a></code> 要素の前の間隔文字は、 |
href=#the-head-element>head</a></code> 要素の前の間隔文字は、 |
| 81 |
文書が構文解析される時に除去されます。根 <code><a |
文書が構文解析される時に除去されます。根 <code><a |
| 82 |
href="#html">html</a></code> 要素の<em>後</em>の間隔文字は、 |
href=#the-html-element>html</a></code> 要素の<em>後</em>の間隔文字は、 |
| 83 |
<code><a href="#body0">body</a></code> 要素の終わりにあったものとして構文解析されます。 |
<code><a href=#the-body-element>body</a></code> 要素の終わりにあったものとして構文解析されます。 |
| 84 |
従って、根要素の近辺の間隔文字は往復しません。 |
従って、根要素の近辺の間隔文字は往復しません。 |
| 85 |
|
|
| 86 |
|
|
| 87 |
#en |
#en |
| 88 |
It is suggested that newlines be inserted after the DOCTYPE, after any |
It is suggested that newlines be inserted after the DOCTYPE, after any |
| 89 |
comments that are before the root element, after the <code><a |
comments that are before the root element, after the <code><a |
| 90 |
href="#html">html</a></code> element's start tag (if it is not <a |
href=#the-html-element>html</a></code> element's start tag (if it is not <a |
| 91 |
href="#omitted" title=syntax-tag-omission>omitted</a>), and after any |
href=#syntax-tag-omission title=syntax-tag-omission>omitted</a>), and after any |
| 92 |
comments that are inside the <code><a href="#html">html</a></code> |
comments that are inside the <code><a href=#the-html-element>html</a></code> |
| 93 |
element but before the <code><a href="#head">head</a></code> element. |
element but before the <code><a href=#the-head-element>head</a></code> element. |
| 94 |
#ja |
#ja |
| 95 |
DOCTYPE の後、 |
DOCTYPE の後、 |
| 96 |
根要素の前の注釈がある場合はその後、 |
根要素の前の注釈がある場合はその後、 |
| 97 |
<code><a |
<code><a |
| 98 |
href="#html">html</a></code> 要素の開始タグの後 |
href=#the-html-element>html</a></code> 要素の開始タグの後 |
| 99 |
(<a |
(<a |
| 100 |
href="#omitted" title=syntax-tag-omission>省略</a>しない場合)、 |
href=#syntax-tag-omission title=syntax-tag-omission>省略</a>しない場合)、 |
| 101 |
<code><a href="#html">html</a></code> 要素中で |
<code><a href=#the-html-element>html</a></code> 要素中で |
| 102 |
<code><a href="#head">head</a></code> 要素の前に注釈がある場合にはその後には、 |
<code><a href=#the-head-element>head</a></code> 要素の前に注釈がある場合にはその後には、 |
| 103 |
改行を挿入することをおすすめします。 |
改行を挿入することをおすすめします。 |
| 104 |
|
|
| 105 |
#en |
#en |
| 123 |
<span class=secno>$1 </span>DOCTYPE |
<span class=secno>$1 </span>DOCTYPE |
| 124 |
|
|
| 125 |
#en |
#en |
| 126 |
A <dfn id=doctype5 title=syntax-doctype>DOCTYPE</dfn> is a mostly |
A <dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> is a mostly |
| 127 |
useless, but required, header. |
useless, but required, header. |
| 128 |
#ja |
#ja |
| 129 |
<dfn id=doctype5 title=syntax-doctype>DOCTYPE</dfn> はほとんど無意味ですが、 |
<dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> はほとんど無意味ですが、 |
| 130 |
[[REQUIRED:必須]]の頭部です。 |
[[REQUIRED:必須]]の頭部です。 |
| 131 |
|
|
| 132 |
#en |
#en |
| 199 |
U+0045 LATIN CAPITAL LETTER E 文字か U+0065 LATIN SMALL LETTER E 文字。 |
U+0045 LATIN CAPITAL LETTER E 文字か U+0065 LATIN SMALL LETTER E 文字。 |
| 200 |
|
|
| 201 |
#en |
#en |
| 202 |
One or more <a href="#space" title="space character">space |
One or more <a href=#space-character title="space character">space |
| 203 |
characters</a>. |
characters</a>. |
| 204 |
#ja |
#ja |
| 205 |
1つ以上の<a href="#space" title="space character">間隔文字</a>。 |
1つ以上の<a href=#space-character title="space character">間隔文字</a>。 |
| 206 |
|
|
| 207 |
#en |
#en |
| 208 |
A U+0048 LATIN CAPITAL LETTER H or U+0068 LATIN SMALL LETTER H |
A U+0048 LATIN CAPITAL LETTER H or U+0068 LATIN SMALL LETTER H |
| 224 |
U+004C LATIN CAPITAL LETTER L 文字か U+006C LATIN SMALL LETTER L 文字。 |
U+004C LATIN CAPITAL LETTER L 文字か U+006C LATIN SMALL LETTER L 文字。 |
| 225 |
|
|
| 226 |
#en |
#en |
| 227 |
Zero or more <a href="#space" title="space character">space |
Zero or more <a href=#space-character title="space character">space |
| 228 |
characters</a>. |
characters</a>. |
| 229 |
#ja |
#ja |
| 230 |
零個以上の<a href="#space" title="space character">間隔文字</a>。 |
零個以上の<a href=#space-character title="space character">間隔文字</a>。 |
| 231 |
|
|
| 232 |
#en |
#en |
| 233 |
A U+003E GREATER-THAN SIGN (<code>></code>) character. |
A U+003E GREATER-THAN SIGN (<code>></code>) character. |
| 243 |
#pattern |
#pattern |
| 244 |
<span class=secno>* </span>Elements |
<span class=secno>* </span>Elements |
| 245 |
#ja |
#ja |
|
<span class=secno>$1 </span>要素 |
|
| 246 |
|
<span class=secno>$1 </span>要素 |
| 247 |
|
|
| 248 |
|
#en |
| 249 |
|
There are five different kinds of <dfn id=dom-form-elements |
| 250 |
|
title=syntax-elements>elements</dfn>: void elements, CDATA elements, |
| 251 |
|
RCDATA elements, foreign elements, and normal elements. |
| 252 |
|
#ja |
| 253 |
|
<dfn id=dom-form-elements |
| 254 |
|
title=syntax-elements>要素</dfn>には5種類あります。 |
| 255 |
|
空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素です。 |
| 256 |
|
|
| 257 |
|
#en |
| 258 |
|
<dfn id=void-elements>Void elements</dfn> |
| 259 |
|
#ja |
| 260 |
|
<dfn id=void-elements>空隙要素</dfn> |
| 261 |
|
|
| 262 |
|
#en |
| 263 |
|
CDATA elements |
| 264 |
|
#ja |
| 265 |
|
CDATA 要素 |
| 266 |
|
|
| 267 |
|
#en |
| 268 |
|
RCDATA elements |
| 269 |
|
#ja |
| 270 |
|
RCDATA 要素 |
| 271 |
|
|
| 272 |
|
#en |
| 273 |
|
Foreign elements |
| 274 |
|
#ja |
| 275 |
|
外来要素 |
| 276 |
|
|
| 277 |
|
#en |
| 278 |
|
Elements from the <a href=#mathml-namespace>MathML namespace</a> <!--XXXSVG |
| 279 |
|
and the <span>SVG namespace</span>. |
| 280 |
|
#ja |
| 281 |
|
<a href=#mathml-namespace>MathML 名前空間</a>からの要素。<!--XXXSVG |
| 282 |
|
and the <span>SVG namespace</span>. |
| 283 |
|
|
| 284 |
|
#en |
| 285 |
|
Normal elements |
| 286 |
|
#ja |
| 287 |
|
通常要素 |
| 288 |
|
|
| 289 |
|
#en |
| 290 |
|
All other allowed <a href=#html-elements>HTML elements</a> are |
| 291 |
|
normal elements. |
| 292 |
|
#ja |
| 293 |
|
他の全ての認められている<a href=#html-elements>HTML 要素</a>は通常要素です。 |
| 294 |
|
|
| 295 |
|
#en |
| 296 |
|
The root element, in the form of an <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>element</a>. |
| 297 |
|
#ja |
| 298 |
|
根要素を、 <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>要素</a>として。 |
| 299 |
|
|
| 300 |
|
#en |
| 301 |
|
Optionally, a <a href=#doctype-legacy-string>DOCTYPE legacy string</a> (defined below). |
| 302 |
|
#ja |
| 303 |
|
任意選択で、 <a href=#doctype-legacy-string>DOCTYPE 遺物文字列</a> (後で定義します)。 |
| 304 |
|
|
| 305 |
|
#en |
| 306 |
|
In other words, <code><!DOCTYPE HTML></code>, |
| 307 |
|
case-insensitively. |
| 308 |
|
#ja |
| 309 |
|
すなわち、大文字または小文字の <code><!DOCTYPE HTML></code>。 |
| 310 |
|
|
| 311 |
|
#en |
| 312 |
|
For the purposes of XSLT generators that cannot output HTML |
| 313 |
|
markup without a DOCTYPE, a <dfn id=doctype-legacy-string>DOCTYPE legacy string</dfn> may be |
| 314 |
|
inserted into the DOCTYPE (in the position defined above). This |
| 315 |
|
string must consist of: |
| 316 |
|
#ja |
| 317 |
|
DOCTYPE なしの HTML マーク付けを出力できない XSLT 生成器のため、 |
| 318 |
|
<dfn id=doctype-legacy-string>DOCTYPE 遺物文字列</dfn>を |
| 319 |
|
DOCTYPE (の前述の位置) に挿入して[[MAY:構いません]]。 |
| 320 |
|
この文字列は次のものから構成されなければ[[MUST:なりません]]。 |
| 321 |
|
|
| 322 |
|
#pattern |
| 323 |
|
A * or * character. |
| 324 |
|
#ja |
| 325 |
|
$1 文字または * 文字。 |
| 326 |
|
|
| 327 |
|
#en |
| 328 |
|
The literal string "<code title="">XSLT-compat</code>". |
| 329 |
|
#ja |
| 330 |
|
生の文字列「<code title="">XSLT-compat</code>」。 |
| 331 |
|
|
| 332 |
|
#en |
| 333 |
|
The same character as in item 9 (a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character). |
| 334 |
|
#ja |
| 335 |
|
項目9と同じ文字 (U+0022 QUOTATION MARK 文字または U+0027 APOSTROPHE 文字の一致する方)。 |
| 336 |
|
|
| 337 |
|
#en |
| 338 |
|
In other words, <code><!DOCTYPE HTML PUBLIC |
| 339 |
|
"XSLT-compat"></code> or <code><!DOCTYPE HTML PUBLIC |
| 340 |
|
'XSLT-compat'></code>, case-insensitively except for the bit in |
| 341 |
|
quotes. |
| 342 |
|
#ja |
| 343 |
|
すなわち、引用符内以外は大文字か小文字の <code><!DOCTYPE HTML PUBLIC |
| 344 |
|
"XSLT-compat"></code> または <code><!DOCTYPE HTML PUBLIC |
| 345 |
|
'XSLT-compat'></code>。 |