| 1324 |
#pattern |
#pattern |
| 1325 |
<span class=secno>* </span>Newlines |
<span class=secno>* </span>Newlines |
| 1326 |
#ja |
#ja |
|
<span class=secno>$1 </span>改行 |
|
| 1327 |
|
<span class=secno>$1 </span>改行 |
| 1328 |
|
|
| 1329 |
|
#en |
| 1330 |
|
<dfn id=syntax-newlines title=syntax-newlines>Newlines</dfn> in HTML may be |
| 1331 |
|
represented either as U+000D CARRIAGE RETURN (CR) characters, U+000A |
| 1332 |
|
LINE FEED (LF) characters, or pairs of U+000D CARRIAGE RETURN (CR), |
| 1333 |
|
U+000A LINE FEED (LF) characters in that order. |
| 1334 |
|
#ja |
| 1335 |
|
HTML の<dfn id=syntax-newlines title=syntax-newlines>改行</dfn>は |
| 1336 |
|
U+000D CARRIAGE RETURN (CR) 文字か、U+000A |
| 1337 |
|
LINE FEED (LF) 文字か、U+000D CARRIAGE RETURN (CR) 文字と |
| 1338 |
|
U+000A LINE FEED (LF) 文字の組をこの順序で用いるかのいずれかによって表現して[[MAY:構いません]]。 |
| 1339 |
|
|
| 1340 |
|
|
| 1341 |
|
#pattern |
| 1342 |
|
<span class=secno>* </span>Character references |
| 1343 |
|
#ja |
| 1344 |
|
<span class=secno>$1 </span>文字参照 |
| 1345 |
|
|
| 1346 |
|
#en |
| 1347 |
|
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 |
| 1348 |
|
to escape characters that couldn't otherwise legally be included in |
| 1349 |
|
<a href=#syntax-text title=syntax-text>text</a>. |
| 1350 |
|
#ja |
| 1351 |
|
他の節で述べたいくつかの場合において、<a href=#syntax-text title=syntax-text>テキスト</a>には |
| 1352 |
|
<dfn id=syntax-charref title=syntax-charref>文字参照</dfn>を混在させて[[MAY:構いません]]。 |
| 1353 |
|
文字参照は、通常合法的に<a href=#syntax-text title=syntax-text>テキスト</a>に含めることができない文字を逃避するために使うことができます。 |
| 1354 |
|
|
| 1355 |
|
#en |
| 1356 |
|
Character references must start with a U+0026 AMPERSAND |
| 1357 |
|
(<code>&</code>). Following this, there are three possible kinds |
| 1358 |
|
of character references: |
| 1359 |
|
#ja |
| 1360 |
|
文字参照は、U+0026 AMPERSAND |
| 1361 |
|
(<code>&</code>) により始まらなければ[[MUST:なりません]]。 |
| 1362 |
|
この文字に続けて、3種類の文字参照があります。 |
| 1363 |
|
|
| 1364 |
|
#en |
| 1365 |
|
Named character references |
| 1366 |
|
#ja |
| 1367 |
|
名前付き文字参照 |
| 1368 |
|
|
| 1369 |
|
#en |
| 1370 |
|
The ampersand must be followed by one of the names given in the |
| 1371 |
|
<a href=#named-character-references>named character references</a> section, using the same |
| 1372 |
|
case. The name must be one that is terminated by a U+003B SEMICOLON |
| 1373 |
|
(<code title="">;</code>) character. |
| 1374 |
|
#ja |
| 1375 |
|
アンド記号の後には、 |
| 1376 |
|
<a href=#named-character-references>名前付き文字参照</a>の節にある名前のいずれかを、 |
| 1377 |
|
同じ大文字・小文字の組み合わせによって続けなければ[[MUST:なりません]]。 |
| 1378 |
|
名前は U+003B SEMICOLON |
| 1379 |
|
(<code title="">;</code>) 文字で終わるものでなければ[[MUST:なりません]]。 |
| 1380 |
|
|
| 1381 |
|
#en |
| 1382 |
|
Decimal numeric character reference |
| 1383 |
|
#ja |
| 1384 |
|
十進数値文字参照 |
| 1385 |
|
|
| 1386 |
|
#en |
| 1387 |
|
The ampersand must be followed by a U+0023 NUMBER SIGN |
| 1388 |
|
(<code>#</code>) character, followed by one or more digits in the |
| 1389 |
|
range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, representing a |
| 1390 |
|
base-ten integer that itself is a Unicode code point that is |
| 1391 |
|
not U+0000, U+000D, in the range U+0080 .. U+009F, or in the range |
| 1392 |
|
0xD800 .. 0xDFFF (surrogates). The digits must then be followed by |
| 1393 |
|
a U+003B SEMICOLON character (<code title="">;</code>). |
| 1394 |
|
#ja |
| 1395 |
|
アンド記号の後には、 U+0023 NUMBER SIGN |
| 1396 |
|
(<code>#</code>) 文字が続き、 Unicode 符号位置であって |
| 1397 |
|
U+0000、U+000D、範囲 U+0080 ~ U+009F、範囲 0xD800~0xDFFF (代理) |
| 1398 |
|
でない十進整数を表す1文字以上の範囲 U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE |
| 1399 |
|
の数字が続かなければ[[MUST:なりません]]。 |
| 1400 |
|
数字の後には U+003B SEMICOLON 文字 (<code title="">;</code>) |
| 1401 |
|
が続かなければ[[MUST:なりません]]。 |
| 1402 |
|
|
| 1403 |
|
#en |
| 1404 |
|
Hexadecimal numeric character reference |
| 1405 |
|
#ja |
| 1406 |
|
十六進数値文字参照 |
| 1407 |
|
|
| 1408 |
|
#en |
| 1409 |
|
The ampersand must be followed by a U+0023 NUMBER SIGN |
| 1410 |
|
(<code>#</code>) character, which must be followed by either a |
| 1411 |
|
U+0078 LATIN SMALL LETTER X or a U+0058 LATIN CAPITAL LETTER X |
| 1412 |
|
character, which must then be followed by one or more digits in the |
| 1413 |
|
range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, U+0061 LATIN SMALL |
| 1414 |
|
LETTER A .. U+0066 LATIN SMALL LETTER F, and U+0041 LATIN CAPITAL |
| 1415 |
|
LETTER A .. U+0046 LATIN CAPITAL LETTER F, representing a |
| 1416 |
|
base-sixteen integer that itself is a Unicode code point that is |
| 1417 |
|
not U+0000, U+000D, in the range U+0080 .. U+009F, or in the range |
| 1418 |
|
0xD800 .. 0xDFFF (surrogates). The digits must then be followed by |
| 1419 |
|
a U+003B SEMICOLON character (<code title="">;</code>). |
| 1420 |
|
#ja |
| 1421 |
|
アンド記号の後には、 U+0023 NUMBER SIGN |
| 1422 |
|
(<code>#</code>) 文字が続き、その後に U+0078 LATIN SMALL LETTER X 文字か |
| 1423 |
|
U+0058 LATIN CAPITAL LETTER X 文字が続き、その後に |
| 1424 |
|
Unicode 符号位置であって |
| 1425 |
|
U+0000、U+000D、範囲 U+0080 ~ U+009F、 |
| 1426 |
|
範囲 0xD800 .. 0xDFFF (代理) |
| 1427 |
|
でない十六進整数を表す1文字以上の範囲 |
| 1428 |
|
U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE、U+0061 LATIN SMALL |
| 1429 |
|
LETTER A ~ U+0066 LATIN SMALL LETTER F、 U+0041 LATIN CAPITAL |
| 1430 |
|
LETTER A ~ U+0046 LATIN CAPITAL LETTER F |
| 1431 |
|
の数字が続かなければ[[MUST:なりません]]。 |
| 1432 |
|
数字の後には U+003B SEMICOLON 文字 (<code title="">;</code>) |
| 1433 |
|
が続かなければ[[MUST:なりません]]。 |
| 1434 |
|
|
| 1435 |
|
#en |
| 1436 |
|
An <dfn id=syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous |
| 1437 |
|
ampersand</dfn> is a U+0026 AMPERSAND (<code>&</code>) character |
| 1438 |
|
that is followed by some <a href=#syntax-text title=syntax-text>text</a> other |
| 1439 |
|
than a <a href=#space-character>space character</a>, a U+003C LESS-THAN SIGN |
| 1440 |
|
character ('<'), or another U+0026 AMPERSAND (<code>&</code>) |
| 1441 |
|
character. |
| 1442 |
|
#ja |
| 1443 |
|
<dfn id=syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</dfn>は、 |
| 1444 |
|
<a href=#space-character>間隔文字</a>、U+003C LESS-THAN SIGN |
| 1445 |
|
文字 ('<')、別の U+0026 AMPERSAND (<code>&</code>) 文字以外の |
| 1446 |
|
<a href=#syntax-text title=syntax-text>テキスト</a>が続く |
| 1447 |
|
U+0026 AMPERSAND (<code>&</code>) 文字です。 |