| 1 |
#pattern
|
| 2 |
<span class=secno>* </span>The <dfn
|
| 3 |
><code>h1</code></dfn>, <dfn><code>h2</code></dfn>, <dfn
|
| 4 |
><code>h3</code></dfn>, <dfn><code>h4</code></dfn>, <dfn
|
| 5 |
><code>h5</code></dfn>, and <dfn><code>h6</code></dfn> elements
|
| 6 |
#ja
|
| 7 |
<span class=secno>$1 </span><dfn
|
| 8 |
><code>h1</code></dfn>、<dfn><code>h2</code></dfn>、<dfn
|
| 9 |
><code>h3</code></dfn>、<dfn><code>h4</code></dfn>、<dfn
|
| 10 |
><code>h5</code></dfn>、<dfn><code>h6</code></dfn> 要素
|
| 11 |
|
| 12 |
#en
|
| 13 |
<a href=#heading-content-0>Heading content</a>.
|
| 14 |
#ja
|
| 15 |
<a href=#heading-content-0>見出し内容</a>。
|
| 16 |
|
| 17 |
#en
|
| 18 |
These elements define headers for their sections.
|
| 19 |
#ja
|
| 20 |
これらの要素は、その章節の見出しを定義します。
|
| 21 |
|
| 22 |
#en
|
| 23 |
The semantics and meaning of these elements are defined in the section
|
| 24 |
on <a href=#headings-and-sections>headings and sections</a>.
|
| 25 |
#ja
|
| 26 |
これらの要素の意味は<a href=#headings-and-sections>見出しと章節</a>の節で定義します。
|
| 27 |
|
| 28 |
#en
|
| 29 |
These elements have a <dfn id=rank>rank</dfn> given by the number in
|
| 30 |
their name. The <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element is said to have
|
| 31 |
the highest rank, the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> element has the
|
| 32 |
lowest rank, and two elements with the same name have equal rank.
|
| 33 |
#ja
|
| 34 |
これらの要素は、その名前中の数字により与えられる<dfn id=rank>階数</dfn>を持ちます。
|
| 35 |
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> 要素は最高の階数を持つといい、
|
| 36 |
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> 要素は最低の階数を持ち、
|
| 37 |
同じ名前の2つの要素は等しい階数を持ちます。
|
| 38 |
|
| 39 |
#en
|
| 40 |
<a href=#flow-content-0>Flow content</a>, including at least one
|
| 41 |
descendant that is <a href=#heading-content-0>heading content</a>, but no <a
|
| 42 |
href=#sectioning-content-0>sectioning content</a> descendants, no <code><a
|
| 43 |
href=#the-header-element>header</a></code> element descendants, and no <code><a
|
| 44 |
href=#the-footer-element>footer</a></code> element descendants.
|
| 45 |
#ja
|
| 46 |
<a href=#flow-content-0>流れ内容</a>で、最低1つの<a href=#heading-content-0>見出し内容</a>の子孫を含み、
|
| 47 |
<a
|
| 48 |
href=#sectioning-content-0>章節付け内容</a>である子孫、<code><a
|
| 49 |
href=#the-header-element>header</a></code> 要素である子孫、<code><a
|
| 50 |
href=#the-footer-element>footer</a></code> 要素である子孫を含まない。
|
| 51 |
|
| 52 |
#en
|
| 53 |
The <code><a href=#the-header-element>header</a></code> element represents the
|
| 54 |
header of a section. The element is typically used to group a set of
|
| 55 |
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code>
|
| 56 |
elements to mark up a page's title with its subtitle or tagline. However,
|
| 57 |
<code><a href=#the-header-element>header</a></code> elements may contain more than
|
| 58 |
just the section's headings and subheadings — for example it would
|
| 59 |
be reasonable for the header to include version history information.
|
| 60 |
#ja
|
| 61 |
<code><a href=#the-header-element>header</a></code> 要素は、
|
| 62 |
章節の見出しを表します。この要素は、普通、
|
| 63 |
<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code>
|
| 64 |
要素の集合を群化し、頁の題名と副題や謳い文句をマーク付けするために使います。しかし、
|
| 65 |
<code><a href=#the-header-element>header</a></code> 要素は純粋に章節の見出しや副見出しではないものも含んで[[MAY:構いません]]。
|
| 66 |
例えば、版履歴情報も見出しに含めるのが適当かもしれません。
|
| 67 |
|
| 68 |
#en
|
| 69 |
For the purposes of document summaries, outlines, and the like, <code><a
|
| 70 |
href=#the-header-element>header</a></code> elements are equivalent to the highest <a
|
| 71 |
href=#rank title=rank>ranked</a> <code><a
|
| 72 |
href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> element
|
| 73 |
descendant of the <code><a href=#the-header-element>header</a></code> element (the
|
| 74 |
first such element if there are multiple elements with that <a
|
| 75 |
href=#rank>rank</a>).
|
| 76 |
#ja
|
| 77 |
文書の要約、輪郭その他の目的に関しては、 <code><a
|
| 78 |
href=#the-header-element>header</a></code>
|
| 79 |
要素は、その子孫で<a
|
| 80 |
href=#rank title=rank>階数</a>が最高の <code><a
|
| 81 |
href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code>–<code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code>
|
| 82 |
要素 (ある<a
|
| 83 |
href=#rank>階数</a>の要素が複数ある場合は、そのうちで最初の要素)
|
| 84 |
と等価です。
|
| 85 |
|
| 86 |
#en
|
| 87 |
Other heading elements in the <code><a href=#the-header-element>header</a></code>
|
| 88 |
element indicate subheadings or subtitles.
|
| 89 |
#ja
|
| 90 |
<code><a href=#the-header-element>header</a></code> 要素中の他の見出し要素は副見出しや副題を表します。
|
| 91 |
|
| 92 |
#en
|
| 93 |
The <a href=#rank>rank</a> of a <code><a
|
| 94 |
href=#the-header-element>header</a></code> element is the same as for an <code><a
|
| 95 |
href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> element (the highest rank).
|
| 96 |
#ja
|
| 97 |
<code><a
|
| 98 |
href=#the-header-element>header</a></code> 要素の<a href=#rank>階数</a>は、
|
| 99 |
<code><a
|
| 100 |
href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> 要素のものと同じ (最高の階数) です。
|
| 101 |
|
| 102 |
#en
|
| 103 |
The section on <a href=#headings-and-sections>headings and sections</a> defines
|
| 104 |
how <code><a href=#the-header-element>header</a></code> elements are assigned to
|
| 105 |
individual sections.
|
| 106 |
#ja
|
| 107 |
<a href=#headings-and-sections>見出しと章節</a>の節で、
|
| 108 |
<code><a href=#the-header-element>header</a></code> 要素が個々の章節にどう割り当てられるかを定義します。
|
| 109 |
|
| 110 |
#en
|
| 111 |
Here are some examples of valid headers. In each case, the emphasised
|
| 112 |
text represents the text that would be used as the header in an
|
| 113 |
application extracting header data and ignoring subheadings.
|
| 114 |
#ja
|
| 115 |
次に示すのは、妥当な見出しの例です。それぞれの場合で、
|
| 116 |
強調した文章が、見出しデータを取り出し、副見出しを無視する応用で見出しとして使われる文章を表します。
|
| 117 |
|
| 118 |
#en
|
| 119 |
<a href=#flow-content-0>Flow content</a>, but with no <a
|
| 120 |
href=#heading-content-0>heading content</a> descendants, no <a
|
| 121 |
href=#sectioning-content-0>sectioning content</a> descendants, and no <code><a
|
| 122 |
href=#the-footer-element>footer</a></code> element descendants.
|
| 123 |
#ja
|
| 124 |
<a href=#flow-content-0>流れ要素</a>、ただし<a
|
| 125 |
href=#heading-content-0>見出し内容</a>である子孫、<a
|
| 126 |
href=#sectioning-content-0>章節内容</a>である子孫、<code><a
|
| 127 |
href=#the-footer-element>footer</a></code> 要素である子孫を含まない。
|
| 128 |
|
| 129 |
#en
|
| 130 |
The <code><a href=#the-footer-element>footer</a></code> element represents the
|
| 131 |
footer for the section it <a href=#applyToSection>applies</a> to. A
|
| 132 |
footer typically contains information about its section such as who wrote
|
| 133 |
it, links to related documents, copyright data, and the like.
|
| 134 |
#ja
|
| 135 |
<code><a href=#the-footer-element>footer</a></code>
|
| 136 |
要素は、それが<a href=#applyToSection>適用</a>される章節の足部を表します。
|
| 137 |
足部は、一般的に、その章節に関する情報、例えば誰が書いたか、
|
| 138 |
関係する文書へのリンク、著作権データなどを含みます。
|
| 139 |
|
| 140 |
#en
|
| 141 |
Contact information for the section given in a <code><a
|
| 142 |
href=#the-footer-element>footer</a></code> should be marked up using the <code><a
|
| 143 |
href=#the-address-element>address</a></code> element.
|
| 144 |
#ja
|
| 145 |
<code><a
|
| 146 |
href=#the-footer-element>footer</a></code> 中で与えられる章節の連絡先情報は、 <code><a
|
| 147 |
href=#the-address-element>address</a></code> 要素を使ってマーク付けする[[SHOULD:べきです]]。
|
| 148 |
|
| 149 |
#en
|
| 150 |
Footers don't necessarily have to appear at the end of a section, though
|
| 151 |
they usually do.
|
| 152 |
#ja
|
| 153 |
足部は、通常は章節の終わりに現れますが、必ずしもそうである必要はありません。
|
| 154 |
|
| 155 |
#en
|
| 156 |
Here is a page with two footers, one at the top and one at the bottom,
|
| 157 |
with the same content:
|
| 158 |
#ja
|
| 159 |
次に示すのは、2つの足部がある頁です。2つは同じ内容で、1つは上にあり、
|
| 160 |
もう1つは下にあります。
|
| 161 |
|