| 1 |
apache |
1.5 |
#pattern
|
| 2 |
apache |
1.3 |
<span class=secno>* </span>Introduction
|
| 3 |
|
|
#ja
|
| 4 |
|
|
<span class=secno>$1 </span>はじめに
|
| 5 |
|
|
|
| 6 |
apache |
1.5 |
#pattern
|
| 7 |
apache |
1.3 |
<span class=secno>* </span>Background
|
| 8 |
|
|
#ja
|
| 9 |
|
|
<span class=secno>$1 </span>背景
|
| 10 |
|
|
|
| 11 |
|
|
#en
|
| 12 |
|
|
The World Wide Web's markup language has always been HTML. HTML was
|
| 13 |
|
|
primarily designed as a language for semantically describing scientific
|
| 14 |
|
|
documents, although its general design and adaptations over the years has
|
| 15 |
|
|
enabled it to be used to describe a number of other types of documents.
|
| 16 |
|
|
#ja
|
| 17 |
|
|
World Wide Web のマーク付け言語は、常にずっと HTML でした。HTML
|
| 18 |
|
|
は主として意味的に記述された科学的な文書のための言語として設計されましたが、
|
| 19 |
|
|
その一般性を持った設計と10年間にわたる適応の結果、
|
| 20 |
|
|
他の様々な種類の文書を記述するためにも使うことができるようになりました。
|
| 21 |
|
|
|
| 22 |
|
|
#en
|
| 23 |
|
|
The main area that has not been adequately addressed by HTML is a vague
|
| 24 |
|
|
subject referred to as Web Applications. This specification attempts to
|
| 25 |
|
|
rectify this, while at the same time updating the HTML specifications to
|
| 26 |
|
|
address issues raised in the past few years.
|
| 27 |
|
|
#ja
|
| 28 |
|
|
HTML が十分取り組んでこなかった主要な領域は Web アプリケーションと大まかに括られる分野です。
|
| 29 |
|
|
この仕様書は、これを是正しようと試みるとともに、
|
| 30 |
|
|
過去数年間に見つかった問題を解決するために HTML 仕様書を更新するものです。
|
| 31 |
|
|
|
| 32 |
apache |
1.6 |
#en
|
| 33 |
|
|
This specification is limited to providing a semantic-level markup
|
| 34 |
|
|
language and associated semantic-level scripting APIs for authoring
|
| 35 |
|
|
accessible pages on the Web ranging from static documents to dynamic
|
| 36 |
|
|
applications.
|
| 37 |
|
|
#ja
|
| 38 |
|
|
この仕様書は、静的な文書から動的なアプリケーションまで、 Web
|
| 39 |
|
|
のアクセス性の高い頁を著述するための、
|
| 40 |
|
|
意味レベルのマーク付け言語とそれに関連付けられた意味レベルのスクリプト API
|
| 41 |
|
|
を提供することに限定されています。
|
| 42 |
apache |
1.3 |
|
| 43 |
apache |
1.6 |
#en
|
| 44 |
|
|
The scope of this specification does not include providing mechanisms
|
| 45 |
|
|
for media-specific customization of presentation (although default
|
| 46 |
|
|
rendering rules for Web browsers are included at the end of this
|
| 47 |
|
|
specification, and several mechanisms for hooking into CSS are provided as
|
| 48 |
|
|
part of the language).
|
| 49 |
|
|
#ja
|
| 50 |
|
|
この仕様書の適用範囲には、表現の媒体特有のカスタム化のための機構の提供は含みません
|
| 51 |
|
|
(ただし、 Web ブラウザの既定のレンダリング規則がこの仕様書の最後に含まれており、
|
| 52 |
|
|
CSS に引っ掛けるための仕組みもいくつか言語の一部として提供します)。
|
| 53 |
|
|
|
| 54 |
|
|
#en
|
| 55 |
|
|
The scope of this specification does not include documenting every HTML
|
| 56 |
|
|
or DOM feature supported by Web browsers. Browsers support many features
|
| 57 |
|
|
that are considered to be very bad for accessibility or that are otherwise
|
| 58 |
|
|
inappropriate. For example, the <code>blink</code> element is clearly
|
| 59 |
|
|
presentational and authors wishing to cause text to blink should instead
|
| 60 |
|
|
use CSS.
|
| 61 |
|
|
#ja
|
| 62 |
|
|
この仕様書の適用範囲には、 Web ブラウザで提供されるすべての HTML や DOM
|
| 63 |
|
|
の機能の文書化は含みません。ブラウザは、アクセス可能性的に非常に悪いか、
|
| 64 |
|
|
その他の理由で不適切と考えられる機能に多く対応しています。例えば、
|
| 65 |
|
|
<code>blink</code> 要素は明らかに表現的であり、
|
| 66 |
|
|
著者は文章を点滅させたい時には代わりに CSS を使うべきです。
|
| 67 |
|
|
|
| 68 |
|
|
#en
|
| 69 |
|
|
The scope of this specification is not to describe an entire operating
|
| 70 |
|
|
system. In particular, hardware configuration software, image manipulation
|
| 71 |
|
|
tools, and applications that users would be expected to use with high-end
|
| 72 |
|
|
workstations on a daily basis are out of scope. In terms of applications,
|
| 73 |
|
|
this specification is targeted specifically at applications that would be
|
| 74 |
|
|
expected to be used by users on an occasional basis, or regularly but from
|
| 75 |
|
|
disparate locations, with low CPU requirements. For instance online
|
| 76 |
|
|
purchasing systems, searching systems, games (especially multiplayer
|
| 77 |
|
|
online games), public telephone books or address books, communications
|
| 78 |
|
|
software (e-mail clients, instant messaging clients, discussion software),
|
| 79 |
|
|
document editing software, etc.
|
| 80 |
|
|
#ja
|
| 81 |
|
|
この仕様書の適用範囲には、オペレーティング・システム全体を記述することは含みません。
|
| 82 |
|
|
特に、ハードウェア設定ソフトウェア、画像操作ツール、高級ワークステーションでの日常用途向けアプリケーションは適用範囲外です。
|
| 83 |
|
|
この仕様書は、アプリケーションに関しては、時たま利用するか、日常的ながらも様々な場所から利用するような、
|
| 84 |
|
|
しかも CPU に対する要求の低いアプリケーションを特に対象としています。
|
| 85 |
|
|
例えば、オンライン購入システム、検索システム、ゲーム (特に多プレイヤー・オンライン・ゲーム)、
|
| 86 |
|
|
公衆電話帳・住所録、通信ソフトウェア (電子メイル・クライアント、
|
| 87 |
|
|
即席メッセージ・クライアント、議論ソフトウェア)、
|
| 88 |
|
|
文書編集ソフトウェアなどです。
|
| 89 |
|
|
|
| 90 |
|
|
#en
|
| 91 |
|
|
For sophisticated cross-platform applications, there already exist
|
| 92 |
|
|
several proprietary solutions (such as Mozilla's XUL, Adobe's Flash, or
|
| 93 |
|
|
Microsoft's Silverlight). These solutions are evolving faster than any
|
| 94 |
|
|
standards process could follow, and the requirements are evolving even
|
| 95 |
|
|
faster. These systems are also significantly more complicated to specify,
|
| 96 |
|
|
and are orders of magnitude more difficult to achieve interoperability
|
| 97 |
|
|
with, than the solutions described in this document. Platform-specific
|
| 98 |
|
|
solutions for such sophisticated applications (for example the MacOS X
|
| 99 |
|
|
Core APIs) are even further ahead.
|
| 100 |
|
|
#ja
|
| 101 |
|
|
洗練された多環境対応アプリケーションについては、独占的な解決策が既にいくつか存在します
|
| 102 |
|
|
(Mozilla の XUL、 Adobe の Flash、 Microsoft の Silverlight など)。
|
| 103 |
|
|
これらの解決策は標準化過程よりも速く進化しており、
|
| 104 |
|
|
要求も更に速いスピードで高まっています。これらのシステムは、
|
| 105 |
|
|
この文書で説明している解決策よりも甚だ複雑で規定しがたく、
|
| 106 |
|
|
相互運用性の達成も桁違いに難しいものです。
|
| 107 |
|
|
洗練されたアプリケーションのための環境特有の解決策 (例えば Mac OS X 中核 API)
|
| 108 |
|
|
は更にそれ以上です。
|
| 109 |
apache |
1.3 |
|
| 110 |
apache |
1.7 |
#pattern
|
| 111 |
apache |
1.8 |
<span class=secno>* </span>Relationships to other specifications
|
| 112 |
|
|
#ja
|
| 113 |
|
|
<span class=secno>$1 </span>他の仕様書との関係
|
| 114 |
|
|
|
| 115 |
|
|
#pattern
|
| 116 |
apache |
1.7 |
<span class=secno>* </span>Relationship to HTML
|
| 117 |
apache |
1.3 |
4.01 and DOM2 HTML
|
| 118 |
|
|
#ja
|
| 119 |
apache |
1.7 |
<span class=secno>$1 </span>HTML 4.01 や DOM2 HTML との関係
|
| 120 |
apache |
1.3 |
|
| 121 |
|
|
#en
|
| 122 |
|
|
This specification represents a new version of HTML4, along with a new
|
| 123 |
|
|
version of the associated DOM2 HTML API. Migration from HTML4 to the
|
| 124 |
|
|
format and APIs described in this specification should in most cases be
|
| 125 |
|
|
straightforward, as care has been taken to ensure that
|
| 126 |
|
|
backwards-compatibility is retained. <a href="#refsHTML4">[HTML4]</a> <a
|
| 127 |
|
|
href="#refsDOM2HTML">[DOM2HTML]</a>
|
| 128 |
|
|
#ja
|
| 129 |
|
|
この仕様書は HTML4 の新しい版であり、それに対応する DOM2 HTML API
|
| 130 |
|
|
の新しい版です。この仕様書は後方互換性を残すことに注意を払っていますので、
|
| 131 |
|
|
ほとんどの場合、 HTML4 からこの仕様書で説明する書式や API
|
| 132 |
|
|
への移行は簡単なはずです。<a href="#refsHTML4">[HTML4]</a> <a
|
| 133 |
|
|
href="#refsDOM2HTML">[DOM2HTML]</a>
|
| 134 |
|
|
|
| 135 |
|
|
#en
|
| 136 |
|
|
This specification is intended to replace XHTML 1.0 as the normative
|
| 137 |
apache |
1.6 |
definition of the XML serialization of the HTML vocabulary. <a
|
| 138 |
apache |
1.3 |
href="#refsXHTML10">[XHTML10]</a>
|
| 139 |
|
|
#ja
|
| 140 |
|
|
この仕様書は、 HTML 語彙の XML 直列化の規定的定義としての XHTML 1.0
|
| 141 |
|
|
を置き換えることを意図しています。 <a
|
| 142 |
|
|
href="#refsXHTML10">[XHTML10]</a>
|
| 143 |
|
|
|
| 144 |
|
|
#en
|
| 145 |
|
|
While this specification updates the semantics and requirements of the
|
| 146 |
|
|
vocabulary defined by XHTML Modularization 1.1 and used by XHTML 1.1, it
|
| 147 |
|
|
does not attempt to provide a replacement for the modularization scheme
|
| 148 |
|
|
defined and used by those (and other) specifications, and therefore cannot
|
| 149 |
|
|
be considered a complete replacement for them. <a
|
| 150 |
|
|
href="#refsXHTMLMOD">[XHTMLMOD]</a> <a href="#refsXHTML11">[XHTML11]</a>
|
| 151 |
|
|
#ja
|
| 152 |
|
|
この仕様書は XHTML モジュール化 1.1 で定義され XHTML 1.1
|
| 153 |
|
|
で使われている語彙の意味と要件を更新することを意図していますが、
|
| 154 |
|
|
これらの仕様書 (やその他の仕様書) で定義され使用されているモジュール化手法の置き換えを提供しようとはしていませんので、
|
| 155 |
|
|
これらの完全なる置き換えとはいえません。 <a
|
| 156 |
|
|
href="#refsXHTMLMOD">[XHTMLMOD]</a> <a href="#refsXHTML11">[XHTML11]</a>
|
| 157 |
|
|
|
| 158 |
|
|
#en
|
| 159 |
|
|
Thus, authors and implementors who do not need such a modularization
|
| 160 |
|
|
scheme can consider this specification a replacement for XHTML 1.x, but
|
| 161 |
|
|
those who do need such a mechanism are encouraged to continue using the
|
| 162 |
|
|
XHTML 1.1 line of specifications.
|
| 163 |
|
|
#ja
|
| 164 |
|
|
従って、当該モジュール化手法が必要ない著者や実装者にとってはこの仕様書を
|
| 165 |
|
|
XHTML 1.x を置き換えるものと考えることができますが、それが必要な人は
|
| 166 |
|
|
XHTML 1.1 系列の仕様書を使い続けることをお勧めします。
|
| 167 |
|
|
|
| 168 |
|
|
#en
|
| 169 |
apache |
1.7 |
XHTML2 <a href="#refsXHTML2">[XHTML2]</a> defines a new HTML vocabulary
|
| 170 |
|
|
with better features for hyperlinks, multimedia content, annotating
|
| 171 |
|
|
document edits, rich metadata, declarative interactive forms, and
|
| 172 |
|
|
describing the semantics of human literary works such as poems and
|
| 173 |
|
|
scientific papers.
|
| 174 |
apache |
1.3 |
#ja
|
| 175 |
apache |
1.7 |
XHTML2 <a href="#refsXHTML2">[XHTML2]</a> は、
|
| 176 |
|
|
ハイパーリンク、多媒体内容、文書の編集の注釈付け、豊富なメタデータ、
|
| 177 |
|
|
宣言的対話的フォーム、詩など人文学的作品や科学的論文の意味の記述などのためのよりよい機能を持つ、
|
| 178 |
|
|
新しい HTML 語彙を定義しています。
|
| 179 |
apache |
1.3 |
|
| 180 |
apache |
1.7 |
#en
|
| 181 |
|
|
However, it lacks elements to express the semantics of many of the
|
| 182 |
|
|
non-document types of content often seen on the Web. For instance, forum
|
| 183 |
|
|
sites, auction sites, search engines, online shops, and the like, do not
|
| 184 |
|
|
fit the document metaphor well, and are not covered by XHTML2.
|
| 185 |
|
|
#ja
|
| 186 |
|
|
しかし、 XHTML2 は Web でよく見られる、文書以外の種類の内容の多くの意味を表現する要素に欠いています。
|
| 187 |
|
|
例えば、掲示板サイト、オークション・サイト、検索エンジン、オンライン店舗などは、
|
| 188 |
|
|
文書のメタファーに十分なじまないので、 XHTML2 でカバーされていません。
|
| 189 |
apache |
1.3 |
|
| 190 |
apache |
1.7 |
#en
|
| 191 |
|
|
<em>This</em> specification aims to extend HTML so that it is also
|
| 192 |
|
|
suitable in these contexts.
|
| 193 |
|
|
#ja
|
| 194 |
|
|
<em>この</em>仕様書は、 HTML を拡張し、これらの文脈でも適切なものとなることを目指します。
|
| 195 |
apache |
1.3 |
|
| 196 |
apache |
1.7 |
#en
|
| 197 |
|
|
XHTML2 and this specification use different namespaces and therefore can
|
| 198 |
|
|
both be implemented in the same XML processor.
|
| 199 |
|
|
#ja
|
| 200 |
|
|
XHTML2 とこの仕様書は異なる名前空間を使用していますので、
|
| 201 |
|
|
同じ XML 処理器でどちらをも実装することができます。
|
| 202 |
apache |
1.4 |
|
| 203 |
apache |
1.7 |
#pattern
|
| 204 |
|
|
<span class=secno>* </span>Relationship to Web
|
| 205 |
apache |
1.3 |
Forms 2.0 and XForms
|
| 206 |
|
|
#ja
|
| 207 |
apache |
1.7 |
<span class=secno>$1 </span>Web Forms 2.0 や XForms との関係
|
| 208 |
apache |
1.3 |
|
| 209 |
|
|
#en
|
| 210 |
|
|
This specification will eventually supplant Web Forms 2.0. The current
|
| 211 |
|
|
Web Forms 2.0 draft can be considered part of this specification for the
|
| 212 |
|
|
time being; its features will eventually be merged into this
|
| 213 |
|
|
specification. <a href="#refsWF2">[WF2]</a>
|
| 214 |
|
|
#ja
|
| 215 |
|
|
この仕様書はゆくゆくは Web Forms 2.0 に取って代わることになります。
|
| 216 |
|
|
その時までは、現在の Web Forms 2.0 はこの仕様書の一部であると考えることができます。
|
| 217 |
|
|
Web Forms 2.0 の機能はゆくゆくはこの仕様書と併合されます。
|
| 218 |
|
|
<a href="#refsWF2">[WF2]</a>
|
| 219 |
|
|
|
| 220 |
apache |
1.7 |
#en
|
| 221 |
|
|
As it stands today, this specification is unrelated and orthognoal to
|
| 222 |
|
|
XForms. When the forms features defined in HTML4 and Web Forms 2.0 are
|
| 223 |
|
|
merged into this specification, then the relationship to XForms described
|
| 224 |
|
|
in the Web Forms 2.0 draft will apply to this specification. <a
|
| 225 |
|
|
href="#refsXForms">[XForms]</a>
|
| 226 |
|
|
#ja
|
| 227 |
|
|
現時点では、この仕様書は XForms とは無関係で、直交したものです。
|
| 228 |
|
|
HTML4 と Web Forms 2.0 で定義されたフォーム機能がこの仕様書に併合された折には、
|
| 229 |
|
|
Web Forms 2.0 案で説明している XForms との関係がこの仕様書についても適用されます。<a
|
| 230 |
|
|
href="#refsXForms">[XForms]</a>
|
| 231 |
|
|
|
| 232 |
|
|
#pattern
|
| 233 |
|
|
<span class=secno>* </span>Relationship to XUL, Flash, Silverlight, and other proprietary UI languages
|
| 234 |
|
|
#ja
|
| 235 |
|
|
<span class=secno>$1 </span>XUL, Flash, Silverlight, その他独占利用者界面言語との関係
|
| 236 |
|
|
|
| 237 |
|
|
#en
|
| 238 |
|
|
This specification is independent of the various proprietary UI
|
| 239 |
|
|
languages that various vendors provide. As an open, vendor-neutral
|
| 240 |
|
|
language, HTML provides for a solution to the same problems without the
|
| 241 |
|
|
risk of vendor lock-in.
|
| 242 |
|
|
#ja
|
| 243 |
|
|
この仕様書は、各種販売者が提供する各種独占利用者界面言語とは独立です。
|
| 244 |
|
|
HTML は、開放的で販売者に対して中立な言語として、
|
| 245 |
|
|
特定販売者への囲い込みの危険のない解決策を同じ問題に対して提供します。
|
| 246 |
|
|
|
| 247 |
apache |
1.9 |
#pattern
|
| 248 |
apache |
1.7 |
<span class=secno>* </span>HTML vs XHTML
|
| 249 |
|
|
#ja
|
| 250 |
|
|
<span class=secno>$1 </span>HTML 対 XHTML
|
| 251 |
|
|
|
| 252 |
|
|
#en
|
| 253 |
|
|
This specification defines an abstract language for describing documents
|
| 254 |
|
|
and applications, and some APIs for interacting with in-memory
|
| 255 |
|
|
representations of resources that use this language.
|
| 256 |
|
|
#ja
|
| 257 |
|
|
この仕様書は、文書とアプリケーションを記述するための抽象言語と、
|
| 258 |
|
|
その言語を用いた資源の記憶装置内表現と対話する API をいくつか定義します。
|
| 259 |
|
|
|
| 260 |
|
|
#en
|
| 261 |
|
|
The in-memory representation is known as "DOM5 HTML", or "the DOM" for
|
| 262 |
|
|
short.
|
| 263 |
|
|
#ja
|
| 264 |
|
|
記憶装置内表現は「DOM5 HTML」、あるいは略して「DOM」と呼ばれます。
|
| 265 |
|
|
|
| 266 |
|
|
#en
|
| 267 |
|
|
There are various concrete syntaxes that can be used to transmit
|
| 268 |
|
|
resources that use this abstract language, two of which are defined in
|
| 269 |
|
|
this specification.
|
| 270 |
|
|
#ja
|
| 271 |
|
|
この抽象言語を用いた資源を転送するために使用できる具象構文はいろいろありますが、
|
| 272 |
|
|
この仕様書ではそのうちの2つを定義します。
|
| 273 |
|
|
|
| 274 |
|
|
#en
|
| 275 |
|
|
The first such concrete syntax is "HTML5". This is the format
|
| 276 |
|
|
recommended for most authors. It is compatible with all legacy Web
|
| 277 |
|
|
browsers. If a document is transmitted with the MIME type <code
|
| 278 |
|
|
title="">text/html</code>, then it will be processed as an "HTML5"
|
| 279 |
|
|
document by Web browsers.
|
| 280 |
|
|
#ja
|
| 281 |
|
|
1つ目の具象構文は「HTML5」です。これは、ほとんどの著者に推奨する書式です。
|
| 282 |
|
|
この具象構文はすべての遺物 Web ブラウザと互換性があります。
|
| 283 |
|
|
文書が MIME 型 <code
|
| 284 |
|
|
title="">text/html</code> で転送される場合、 Web ブラウザはこれを「HTML5」
|
| 285 |
|
|
として処理します。
|
| 286 |
|
|
|
| 287 |
|
|
#en
|
| 288 |
|
|
The second concrete syntax uses XML, and is known as "XHTML5". When a
|
| 289 |
|
|
document is transmitted with an XML MIME type, such as <code
|
| 290 |
|
|
title="">application/xhtml+xml</code>, then it is processed by an XML
|
| 291 |
|
|
processor by Web browsers, and treated as an "XHTML5" document. Authors
|
| 292 |
|
|
are reminded that the processing for XML and HTML differs; in particular,
|
| 293 |
|
|
even minor syntax errors will prevent an XML document from being rendered
|
| 294 |
|
|
fully, whereas they would be ignored in the "HTML5" syntax.
|
| 295 |
|
|
#ja
|
| 296 |
|
|
2つ目の具象構文は XML を使い、「XHTML5」と呼ばれます。文書が XML MIME 型、例えば <code
|
| 297 |
|
|
title="">application/xhtml+xml</code> で転送される時には、 Web
|
| 298 |
|
|
ブラウザは XML 処理器によりこれを処理し、「XHTML5」文書として扱います。
|
| 299 |
|
|
著者は、 XML と HTML の処理が異なることに注意する必要があります。
|
| 300 |
|
|
特に、 XML 文書は小さな構文誤りによってさえ完全には表示されなくなってしまいます。
|
| 301 |
|
|
一方の「HTML5」構文では小さな誤りは無視されます。
|
| 302 |
|
|
|
| 303 |
|
|
#en
|
| 304 |
|
|
The "DOM5 HTML", "HTML5", and "XHTML5" representations cannot all
|
| 305 |
|
|
represent the same content. For example, namespaces cannot be represented
|
| 306 |
|
|
using "HTML5", but they are supported in "DOM5 HTML" and "XHTML5".
|
| 307 |
|
|
Similarly, documents that use the <code><a
|
| 308 |
|
|
href="#noscript">noscript</a></code> feature can be represented using
|
| 309 |
|
|
"HTML5", but cannot be represented with "XHTML5" and "DOM5 HTML". Comments
|
| 310 |
|
|
that contain the string "<code title="">--></code>" can be represented
|
| 311 |
|
|
in "DOM5 HTML" but not in "HTML5" and "XHTML5". And so forth.
|
| 312 |
|
|
#ja
|
| 313 |
|
|
「DOM5 HTML」、「HTML5」、「XHTML5」の各表現は、
|
| 314 |
|
|
すべてが同じ内容を表現できるわけではありません。例えば、
|
| 315 |
|
|
名前空間は「HTML5」では表現できませんが、「DOM5 HTML」と「XHTML5」
|
| 316 |
|
|
は対応しています。同様に、 <code><a
|
| 317 |
|
|
href="#noscript">noscript</a></code> 機能を用いた文書は「HTML5」
|
| 318 |
|
|
を使ってひゅう弦できますが、「XHTML5」や「DOM5 HTML」では表現できません。
|
| 319 |
|
|
文字列「<code title="">--></code>」を含む注釈は「DOM5 HTML」
|
| 320 |
|
|
ではひゅう現できますが、「HTML5」や「XHTML5」では表現できません。
|
| 321 |
|
|
他にもあります。
|
| 322 |
|
|
|
| 323 |
|
|
#pattern
|
| 324 |
|
|
<span class=secno>* </span>Structure of this
|
| 325 |
|
|
specification
|
| 326 |
|
|
#ja
|
| 327 |
|
|
<span class=secno>$1 </span>この仕様書の構造
|
| 328 |
|
|
|
| 329 |
|
|
#en
|
| 330 |
|
|
This specification is divided into the following major sections:
|
| 331 |
|
|
#ja
|
| 332 |
|
|
この仕様書は次の大きな章で構成されています。
|
| 333 |
|
|
|
| 334 |
|
|
#en
|
| 335 |
|
|
<a href="#infrastructure">Common Infrastructure</a>
|
| 336 |
|
|
#ja
|
| 337 |
|
|
<a href="#infrastructure">共通基盤</a>
|
| 338 |
|
|
|
| 339 |
|
|
#en
|
| 340 |
|
|
The conformance classes, algorithms, definitions, and the common
|
| 341 |
|
|
underpinnings of the rest of the specification.
|
| 342 |
|
|
#ja
|
| 343 |
|
|
適合性級、算法、定義、仕様書の残りの部分の共通の土台です。
|
| 344 |
|
|
|
| 345 |
|
|
#en
|
| 346 |
|
|
<a href="#dom">The DOM</a>
|
| 347 |
|
|
#ja
|
| 348 |
|
|
<a href="#dom">DOM</a>
|
| 349 |
|
|
|
| 350 |
|
|
#en
|
| 351 |
|
|
Documents are built from elements. These elements form a tree using
|
| 352 |
|
|
the DOM. This section defines the features of this DOM, as well as
|
| 353 |
|
|
introducing the features common to all elements, and the concepts used in
|
| 354 |
|
|
defining elements.
|
| 355 |
|
|
#ja
|
| 356 |
|
|
文書は要素により構築されます。要素は DOM を使って木を形成します。
|
| 357 |
|
|
この章は DOM の機能を定義すると共に、
|
| 358 |
|
|
すべての要素に共通な機能と要素を定義するために用いる概念を導入します。
|
| 359 |
|
|
|
| 360 |
|
|
#en
|
| 361 |
|
|
<a href="#semantics">Elements</a>
|
| 362 |
|
|
#ja
|
| 363 |
|
|
<a href="#semantics">要素</a>
|
| 364 |
|
|
|
| 365 |
|
|
#en
|
| 366 |
|
|
Each element has a predefined meaning, which is explained in this
|
| 367 |
|
|
section. User agent requirements for how to handle each element are also
|
| 368 |
|
|
given, along with rules for authors on how to use the element.
|
| 369 |
|
|
#ja
|
| 370 |
|
|
各要素はあらかじめ定義された意味を持っており、それをこの章で説明します。
|
| 371 |
|
|
各要素をどう取り扱うかに関する利用者エージェント要件や、
|
| 372 |
|
|
著者が要素をどう使うかの規則も与えます。
|
| 373 |
|
|
|
| 374 |
|
|
#en
|
| 375 |
|
|
<a href="#browsers">Web Browsers</a>
|
| 376 |
|
|
#ja
|
| 377 |
|
|
<a href="#browsers">Web ブラウザ</a>
|
| 378 |
|
|
|
| 379 |
|
|
#en
|
| 380 |
|
|
HTML documents do not exist in a vacuum — this section defines
|
| 381 |
|
|
many of the features that affect environments that deal with multiple
|
| 382 |
|
|
pages, links between pages, and running scripts.
|
| 383 |
|
|
#ja
|
| 384 |
|
|
HTML 文書は単独で存在するのではありません。この章は、
|
| 385 |
|
|
複数の頁や頁間のリンクやスクリプトの実行を処理する、
|
| 386 |
|
|
環境に影響する機能の多くを定義します。
|
| 387 |
|
|
|
| 388 |
|
|
#en
|
| 389 |
|
|
<a href="#editing">User Interaction</a>
|
| 390 |
|
|
#ja
|
| 391 |
|
|
<a href="#editing">利用者対話</a>
|
| 392 |
|
|
|
| 393 |
|
|
#en
|
| 394 |
|
|
HTML documents can provide a number of mechanisms for users to
|
| 395 |
|
|
interact with and modify content, which are described in this section.
|
| 396 |
|
|
#ja
|
| 397 |
|
|
HTML 文書は利用者と対話したり利用者が内容を編集したりするための数々の仕組みを提供でき、
|
| 398 |
|
|
この章ではそれについて説明します。
|
| 399 |
|
|
|
| 400 |
|
|
#en
|
| 401 |
|
|
<a href="#comms">The Communication APIs</a>
|
| 402 |
|
|
#ja
|
| 403 |
|
|
<a href="#comms">通信 API</a>
|
| 404 |
|
|
|
| 405 |
|
|
#en
|
| 406 |
|
|
Applications written in HTML often require mechanisms to communicate
|
| 407 |
|
|
with remote servers, as well as communicating with other applications
|
| 408 |
|
|
from different domains running on the same client.
|
| 409 |
|
|
#ja
|
| 410 |
|
|
HTML で書かれたアプリケーションでは、よく遠隔鯖と通信したり、
|
| 411 |
|
|
同じクライアント上で図指している異なるドメインの他のアプリケーションと通信する仕組みが必要になります。
|
| 412 |
|
|
|
| 413 |
|
|
#en
|
| 414 |
|
|
<a href="#repetition">Repetition Templates</a>
|
| 415 |
|
|
#ja
|
| 416 |
|
|
<a href="#repetition">反復雛形</a>
|
| 417 |
|
|
|
| 418 |
|
|
#en
|
| 419 |
|
|
A mechanism to support repeating sections in forms.
|
| 420 |
|
|
#ja
|
| 421 |
|
|
フォーム中の反復節に対応するための仕組み。
|
| 422 |
|
|
|
| 423 |
|
|
#en
|
| 424 |
|
|
<a href="#syntax">The Language Syntax</a>
|
| 425 |
|
|
#ja
|
| 426 |
|
|
<a href="#syntax">言語構文</a>
|
| 427 |
|
|
|
| 428 |
|
|
#en
|
| 429 |
|
|
All of these features would be for naught if they couldn't be
|
| 430 |
|
|
represented in a serialized form and sent to other people, and so this
|
| 431 |
|
|
section defines the syntax of HTML, along with rules for how to parse
|
| 432 |
|
|
HTML.
|
| 433 |
|
|
#ja
|
| 434 |
|
|
これらの機能はすべて、直列化された形式で表現して他の人に送ることができなければ、
|
| 435 |
|
|
意味がありません。この章では、 HTML の構文と、 HTML の構文解析の方法に関する規則を定義します。
|
| 436 |
|
|
|
| 437 |
|
|
#en
|
| 438 |
|
|
There are also a couple of appendices, defining <a
|
| 439 |
|
|
href="#rendering">rendering rules</a> for Web browsers and listing <a
|
| 440 |
|
|
href="#no">areas that are out of scope</a> for this specification.
|
| 441 |
|
|
#ja
|
| 442 |
|
|
この仕様書には、 Web ブラウザの<a
|
| 443 |
|
|
href="#rendering">レンダリング規則</a>を定義する附属書やこの仕様書の<a
|
| 444 |
|
|
href="#no">適用範囲外の分野</a>を列挙する附属書もあります。
|
| 445 |
|
|
|
| 446 |
apache |
1.8 |
#pattern
|
| 447 |
apache |
1.7 |
<span class=secno>* </span>How to read this specification
|
| 448 |
|
|
#ja
|
| 449 |
|
|
<span class=secno>$1 </span>この仕様書の読み方
|
| 450 |
|
|
|
| 451 |
|
|
#en
|
| 452 |
|
|
This specification should be read like all other specifications. First,
|
| 453 |
|
|
it should be read cover-to-cover, multiple times. Then, it should be read
|
| 454 |
|
|
backwards at least once. Then it should be read by picking random sections
|
| 455 |
|
|
from the contents list and following all the cross-references.
|
| 456 |
|
|
#ja
|
| 457 |
|
|
この仕様書は、他のすべての仕様書と同じように読むべきです。
|
| 458 |
|
|
まず、最初から最後まで、何回も読むべきです。
|
| 459 |
|
|
次に、最低1回は後ろから読むべきです。
|
| 460 |
|
|
その次に、目次から無作為に節を選び、すべての相互参照をたどりながら読むべきです。
|