| 450 |
他の<a href=#syntax-elements title=syntax-elements>要素</a>、 |
他の<a href=#syntax-elements title=syntax-elements>要素</a>、 |
| 451 |
<a href=#syntax-comments title=syntax-comments>注釈</a>を持つことができますが、 |
<a href=#syntax-comments title=syntax-comments>注釈</a>を持つことができますが、 |
| 452 |
テキストは文字 U+003C LESS-THAN SIGN (<code><</code>) |
テキストは文字 U+003C LESS-THAN SIGN (<code><</code>) |
|
や<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含んでは[[MUST NOT:なりません]]。 |
|
| 453 |
|
や<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含んでは[[MUST NOT:なりません]]。 |
| 454 |
|
|
| 455 |
|
#en |
| 456 |
|
Normal elements can have <a href=#syntax-text title=syntax-text>text</a>, |
| 457 |
|
<a href=#syntax-charref title=syntax-charref>character references</a>, other |
| 458 |
|
<a href=#syntax-elements title=syntax-elements>elements</a>, and <a href=#syntax-comments title=syntax-comments>comments</a>, but the text must not |
| 459 |
|
contain the character U+003C LESS-THAN SIGN (<code><</code>) or |
| 460 |
|
an <a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous |
| 461 |
|
ampersand</a>. Some normal elements also have <a href=#element-restrictions>yet more restrictions</a> on what |
| 462 |
|
content they are allowed to hold, beyond the restrictions imposed by |
| 463 |
|
the content model and those described in this paragraph. Those |
| 464 |
|
restrictions are described below. |
| 465 |
|
#ja |
| 466 |
|
通常要素は<a href=#syntax-text title=syntax-text>テキスト</a>、 |
| 467 |
|
<a href=#syntax-charref title=syntax-charref>文字参照</a>、 |
| 468 |
|
他の<a href=#syntax-elements title=syntax-elements>要素</a>、 |
| 469 |
|
<a href=#syntax-comments title=syntax-comments>注釈</a>を持つことができますが、 |
| 470 |
|
テキストは文字 U+003C LESS-THAN SIGN (<code><</code>) |
| 471 |
|
や<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含んでは[[MUST NOT:なりません]]。 |
| 472 |
|
いくつかの通常要素は、保持することが認められる内容に関して、 |
| 473 |
|
内容モデルにより課される制約やこの段落で説明した制約に加え、 |
| 474 |
|
<a href=#element-restrictions>更に追加の制約</a>をも有します。 |
| 475 |
|
その制約については後述します。 |
| 476 |
|
|
| 477 |
|
#en |
| 478 |
|
Tags contain a <dfn id=syntax-tag-name title=syntax-tag-name>tag name</dfn>, |
| 479 |
|
giving the element's name. HTML elements all have names that only |
| 480 |
|
use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE, |
| 481 |
|
U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, U+0041 |
| 482 |
|
LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z, and U+002D |
| 483 |
|
HYPHEN-MINUS (<code>-</code>). In the HTML syntax, tag names may be |
| 484 |
|
written with any mix of lower- and uppercase letters that, when |
| 485 |
|
converted to all-lowercase, matches the element's tag name; tag |
| 486 |
|
names are case-insensitive. |
| 487 |
|
#ja |
| 488 |
|
タグは<dfn id=syntax-tag-name title=syntax-tag-name>タグ名</dfn>を持ち、 |
| 489 |
|
これが要素の名前を与えます。 |
| 490 |
|
HTML 要素はすべて、範囲 U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE、 |
| 491 |
|
U+0061 LATIN SMALL LETTER A ~ U+007A LATIN SMALL LETTER Z、U+0041 |
| 492 |
|
LATIN CAPITAL LETTER A ~ U+005A LATIN CAPITAL LETTER Z、 U+002D |
| 493 |
|
HYPHEN-MINUS (<code>-</code>) の文字のみを使った名前を持ちます。 |
| 494 |
|
HTML 構文では、タグ名はすべて小文字に変換した時に要素のタグ名に一致するような任意の小文字と大文字の組み合わせで書いて[[MAY:構いません]]。 |
| 495 |
|
つまり、タグ名は大文字・小文字を区別しません。 |
| 496 |
|
|
| 497 |
|
|
| 498 |
|
#pattern |
| 499 |
|
<span class=secno>* </span>Start tags |
| 500 |
|
#ja |
| 501 |
|
<span class=secno>$1 </span>開始タグ |
| 502 |
|
|
| 503 |
|
#en |
| 504 |
|
<dfn id=syntax-start-tags title=syntax-start-tags>Start tags</dfn> must have the |
| 505 |
|
following format: |
| 506 |
|
#ja |
| 507 |
|
<dfn id=syntax-start-tags title=syntax-start-tags>開始タグ</dfn>は次の書式でなければ[[MUST:なりません]]。 |
| 508 |
|
|
| 509 |
|
#en |
| 510 |
|
The first character of a start tag must be a U+003C LESS-THAN |
| 511 |
|
SIGN (<code><</code>). |
| 512 |
|
#ja |
| 513 |
|
開始タグの最初の文字は U+003C LESS-THAN |
| 514 |
|
SIGN (<code><</code>) でなければ[[MUST:なりません]]。 |