| 607 |
#pattern |
#pattern |
| 608 |
<span class=secno>* </span>Attributes |
<span class=secno>* </span>Attributes |
| 609 |
#ja |
#ja |
|
<span class=secno>$1 </span>属性 |
|
| 610 |
|
<span class=secno>$1 </span>属性 |
| 611 |
|
|
| 612 |
|
#en |
| 613 |
|
<dfn id=syntax-start-tags title=syntax-start-tags>Start tags</dfn> must have the |
| 614 |
|
following format: |
| 615 |
|
#ja |
| 616 |
|
<dfn id=syntax-start-tags title=syntax-start-tags>開始タグ</dfn>は次の書式でなければ[[MUST:なりません]]。 |
| 617 |
|
following format: |
| 618 |
|
|
| 619 |
|
#en |
| 620 |
|
<dfn id=syntax-attributes title=syntax-attributes>Attributes</dfn> for an element |
| 621 |
|
are expressed inside the element's start tag. |
| 622 |
|
#ja |
| 623 |
|
要素の<dfn id=syntax-attributes title=syntax-attributes>属性</dfn>は、 |
| 624 |
|
当該要素の開始タグの内側で表現されます。 |
| 625 |
|
|
| 626 |
|
#en |
| 627 |
|
Attributes have a name and a value. <dfn id=syntax-attribute-name title=syntax-attribute-name>Attribute names</dfn> must consist of |
| 628 |
|
one or more characters other than the <a href=#space-character title="space |
| 629 |
|
character">space characters</a>, U+0000 NULL, U+0022 QUOTATION |
| 630 |
|
MARK ("), U+0027 APOSTROPHE ('), U+003E GREATER-THAN SIGN |
| 631 |
|
(>), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=) characters, |
| 632 |
|
the control characters, and any characters that are not defined by |
| 633 |
|
Unicode. In the HTML syntax, attribute names may be written with any |
| 634 |
|
mix of lower- and uppercase letters that are an <a href=#ascii-case-insensitive>ASCII |
| 635 |
|
case-insensitive</a> match for the attribute's name. |
| 636 |
|
#ja |
| 637 |
|
属性は名前と値を持ちます。 |
| 638 |
|
<dfn id=syntax-attribute-name title=syntax-attribute-name>属性名</dfn>は、 |
| 639 |
|
<a href=#space-character title="space |
| 640 |
|
character">間隔文字</a>、U+0000 NULL、U+0022 QUOTATION |
| 641 |
|
MARK (")、U+0027 APOSTROPHE (')、U+003E GREATER-THAN SIGN |
| 642 |
|
(>)、U+002F SOLIDUS (/)、U+003D EQUALS SIGN (=) のいずれかの文字、 |
| 643 |
|
制御文字、 Unicode で定義されていない文字以外の文字1文字以上で構成されなければ[[MUST:なりません]]。 |
| 644 |
|
HTML 構文では、属性名は当該属性の名前に |
| 645 |
|
<a href=#ascii-case-insensitive>ASCII |
| 646 |
|
大文字・小文字不区別</a>で一致する任意の小文字・大文字の組み合わせで書いて[[MAY:構いません]]。 |
| 647 |
|
|
| 648 |
|
#en |
| 649 |
|
<dfn id=syntax-attribute-value title=syntax-attribute-value>Attribute values</dfn> are a |
| 650 |
|
mixture of <a href=#syntax-text title=syntax-text>text</a> and <a href=#syntax-charref title=syntax-charref>character references</a>, except with the |
| 651 |
|
additional restriction that the text cannot contain an <a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous ampersand</a>. |
| 652 |
|
#ja |
| 653 |
|
<dfn id=syntax-attribute-value title=syntax-attribute-value>属性値</dfn>は<a href=#syntax-text title=syntax-text>テキスト</a>と<a href=#syntax-charref title=syntax-charref>文字参照</a>の混合ですが、テキストが<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含むことができないとの追加の制限があります。 |
| 654 |
|
|
| 655 |
|
#en |
| 656 |
|
Attributes can be specified in four different ways: |
| 657 |
|
#ja |
| 658 |
|
属性は4種類の方法で指定できます。 |
| 659 |
|
|
| 660 |
|
#en |
| 661 |
|
Empty attribute syntax |
| 662 |
|
#ja |
| 663 |
|
空属性構文 |