/[suikacvs]/markup/html/html5/spec-ja/data/syntax.dat
Suika

Contents of /markup/html/html5/spec-ja/data/syntax.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.64 - (hide annotations) (download)
Fri Oct 24 16:53:36 2008 UTC (17 years, 8 months ago) by apache
Branch: MAIN
Changes since 1.63: +7 -1 lines
by remote user 'guest'

1 apache 1.2
2    
3     #pattern
4     <span class=secno>* </span>The HTML syntax
5     #ja
6 apache 1.3 <span class=secno>$1 </span>HTML 構文
7    
8     #pattern
9     <span class=secno>* </span>Writing HTML documents
10     #ja
11 apache 1.4 <span class=secno>$1 </span>HTML 文書を書く
12    
13     #en
14     <em>This section only applies to documents, authoring tools, and markup
15     generators. In particular, it does not apply to conformance checkers;
16     conformance checkers must use the requirements given in the next section
17     ("parsing HTML documents").</em>
18     #ja
19     <em>この節は文書、著述ツール、マーク付け生成器にのみ適用されます。
20     特に、適合性検査器には適用されません。
21 apache 1.5 適合性検査器は次の節 (「HTML 文書の構文解析」) で与えられる要件を用いなければ[[MUST:なりません]]。</em>
22    
23     #en
24     Documents must consist of the following parts, in the given order:
25     #ja
26 apache 1.6 文書は、次に示す部分により、次の順序で構成されなければ[[MUST:なりません]]。
27    
28     #en
29     Optionally, a single U+FEFF BYTE ORDER MARK (BOM) character.
30     #ja
31 apache 1.7 任意選択で、1つの U+FEFF BYTE ORDER MARK (BOM) 文字。
32    
33     #en
34 wakaba 1.44 Any number of <a href=#syntax-comments title=syntax-comments>comments</a>
35     and <a href=#space-character title="space character">space characters</a>.
36 apache 1.7 #ja
37 wakaba 1.44 任意の個数の<a href=#syntax-comments title=syntax-comments>注釈</a>と<a href=#space-character title="space character">間隔文字</a>。
38 apache 1.8
39     #en
40 wakaba 1.44 A <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>.
41 apache 1.8 #ja
42 wakaba 1.44 <a href=#syntax-doctype title=syntax-doctype>DOCTYPE</a>。
43 apache 1.9
44     #en
45     The root element, in the form of an <code><a
46 wakaba 1.44 href=#the-html-element>html</a></code> <a href=#dom-form-elements
47 apache 1.9 title=syntax-elements>element</a>.
48     #ja
49     根要素を <code><a
50 wakaba 1.44 href=#the-html-element>html</a></code> <a href=#dom-form-elements
51 apache 1.10 title=syntax-elements>要素</a>の形で。
52    
53     #en
54     The various types of content mentioned above are described in the next
55     few sections.
56     #ja
57 apache 1.11 前述の各種の内容は、次の数個の節で説明します。
58    
59     #en
60     In addition, there are some restrictions on how <span>character encoding
61     declarations</span> are to be serialized, as discussed in the section on
62     that topic.
63     #ja
64     加えて、<span>文字符号化宣言</span>をどう直列化するかについても、
65 apache 1.12 それに関する節で説明した通り、いくつかの制限があります。
66    
67     #en
68 wakaba 1.44 Space characters before the root <code><a href=#the-html-element>html</a></code>
69 apache 1.12 element, and space characters at the start of the <code><a
70 wakaba 1.44 href=#the-html-element>html</a></code> element and before the <code><a
71     href=#the-head-element>head</a></code> element, will be dropped when the document
72 apache 1.12 is parsed; space characters <em>after</em> the root <code><a
73 wakaba 1.44 href=#the-html-element>html</a></code> element will be parsed as if they were at
74     the end of the <code><a href=#the-body-element>body</a></code> element. Thus,
75 apache 1.12 space characters around the root element do not round-trip.
76     #ja
77 wakaba 1.44 根 <code><a href=#the-html-element>html</a></code> 要素の前の間隔文字や、
78 apache 1.12 <code><a
79 wakaba 1.44 href=#the-html-element>html</a></code> 要素のはじめで <code><a
80     href=#the-head-element>head</a></code> 要素の前の間隔文字は、
81 apache 1.12 文書が構文解析される時に除去されます。根 <code><a
82 wakaba 1.44 href=#the-html-element>html</a></code> 要素の<em>後</em>の間隔文字は、
83     <code><a href=#the-body-element>body</a></code> 要素の終わりにあったものとして構文解析されます。
84 apache 1.12 従って、根要素の近辺の間隔文字は往復しません。
85 apache 1.13
86    
87     #en
88     It is suggested that newlines be inserted after the DOCTYPE, after any
89     comments that are before the root element, after the <code><a
90 wakaba 1.44 href=#the-html-element>html</a></code> element's start tag (if it is not <a
91     href=#syntax-tag-omission title=syntax-tag-omission>omitted</a>), and after any
92     comments that are inside the <code><a href=#the-html-element>html</a></code>
93     element but before the <code><a href=#the-head-element>head</a></code> element.
94 apache 1.13 #ja
95     DOCTYPE の後、
96     根要素の前の注釈がある場合はその後、
97     <code><a
98 wakaba 1.44 href=#the-html-element>html</a></code> 要素の開始タグの後
99 apache 1.13 (<a
100 wakaba 1.44 href=#syntax-tag-omission title=syntax-tag-omission>省略</a>しない場合)、
101     <code><a href=#the-html-element>html</a></code> 要素中で
102     <code><a href=#the-head-element>head</a></code> 要素の前に注釈がある場合にはその後には、
103 apache 1.14 改行を挿入することをおすすめします。
104    
105     #en
106     Many strings in the HTML syntax (e.g. the names of elements and their
107     attributes) are case-insensitive, but only for characters in the ranges
108     U+0041 .. U+005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) and
109     U+0061 .. U+007A (LATIN SMALL LETTER A to LATIN SMALL LETTER Z). For
110     convenience, in this section this is just referred to as
111     "case-insensitive".
112     #ja
113     HTML 構文中の多くの文字列 (例えば要素や属性の名前) は大文字と小文字を区別しませんが、
114     区別しないのは範囲
115     U+0041 ~ U+005A (LATIN CAPITAL LETTER A ~ LATIN CAPITAL LETTER Z) と
116     範囲 U+0061 ~ U+007A (LATIN SMALL LETTER A ~ LATIN SMALL LETTER Z)
117     の文字についてのみです。便宜上、この節ではこれを単に「大文字・小文字を区別しない」と呼びます。
118 apache 1.15
119    
120     #pattern
121     <span class=secno>* </span>The DOCTYPE
122     #ja
123 apache 1.16 <span class=secno>$1 </span>DOCTYPE
124    
125     #en
126 wakaba 1.44 A <dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> is a mostly
127 apache 1.16 useless, but required, header.
128     #ja
129 wakaba 1.44 <dfn id=syntax-doctype title=syntax-doctype>DOCTYPE</dfn> はほとんど無意味ですが、
130 apache 1.17 [[REQUIRED:必須]]の頭部です。
131    
132     #en
133     DOCTYPEs are required for legacy reasons. When omitted,
134     browsers tend to use a different rendering mode that is incompatible with
135     some specifications. Including the DOCTYPE in a document ensures that the
136     browser makes a best-effort attempt at following the relevant
137     specifications.
138     #ja
139     DOCTYPE は遺物的な理由で[[REQUIRED:必須]]です。
140     省略すると、ブラウザはいくつかの仕様書と非互換な異なるレンダリング・モードを使おうとします。
141 apache 1.18 DOCTYPE を文書に含めることによってブラウザに関係する仕様書に従うよう最善の努力を試みさせるようにします。
142    
143     #en
144     A DOCTYPE must consist of the following characters, in this order:
145     #ja
146 apache 1.19 DOCTYPE は、次の文字により次の順序で構成されなければ[[MUST:なりません]]。
147    
148     #en
149     A U+003C LESS-THAN SIGN (<code>&lt;</code>) character.
150     #ja
151 apache 1.20 U+003C LESS-THAN SIGN (<code>&lt;</code>) 文字。
152    
153     #en
154     A U+0021 EXCLAMATION MARK (<code>!</code>) character.
155     #ja
156 apache 1.21 U+0021 EXCLAMATION MARK (<code>!</code>) 文字。
157    
158     #en
159     A U+0044 LATIN CAPITAL LETTER D or U+0064 LATIN SMALL LETTER D
160     character.
161     #ja
162 apache 1.22 U+0044 LATIN CAPITAL LETTER D 文字か U+0064 LATIN SMALL LETTER D 文字。
163    
164     #en
165     A U+004F LATIN CAPITAL LETTER O or U+006F LATIN SMALL LETTER O
166     character.
167     #ja
168 apache 1.23 U+004F LATIN CAPITAL LETTER O 文字か U+006F LATIN SMALL LETTER O 文字。
169    
170     #en
171     A U+0043 LATIN CAPITAL LETTER C or U+0063 LATIN SMALL LETTER C
172     character.
173     #ja
174 apache 1.24 U+0043 LATIN CAPITAL LETTER C 文字か U+0063 LATIN SMALL LETTER C 文字。
175    
176     #en
177     A U+0054 LATIN CAPITAL LETTER T or U+0074 LATIN SMALL LETTER T
178     character.
179     #ja
180 apache 1.25 U+0054 LATIN CAPITAL LETTER T 文字か U+0074 LATIN SMALL LETTER T 文字。
181    
182     #en
183     A U+0059 LATIN CAPITAL LETTER Y or U+0079 LATIN SMALL LETTER Y
184     character.
185     #ja
186 apache 1.26 U+0059 LATIN CAPITAL LETTER Y 文字か U+0079 LATIN SMALL LETTER Y 文字。
187    
188     #en
189     A U+0050 LATIN CAPITAL LETTER P or U+0070 LATIN SMALL LETTER P
190     character.
191     #ja
192     U+0050 LATIN CAPITAL LETTER P 文字か U+0070 LATIN SMALL LETTER P 文字。
193 apache 1.27
194    
195     #en
196     A U+0045 LATIN CAPITAL LETTER E or U+0065 LATIN SMALL LETTER E
197     character.
198     #ja
199 apache 1.28 U+0045 LATIN CAPITAL LETTER E 文字か U+0065 LATIN SMALL LETTER E 文字。
200    
201     #en
202 wakaba 1.44 One or more <a href=#space-character title="space character">space
203 apache 1.28 characters</a>.
204     #ja
205 wakaba 1.44 1つ以上の<a href=#space-character title="space character">間隔文字</a>。
206 apache 1.29
207     #en
208     A U+0048 LATIN CAPITAL LETTER H or U+0068 LATIN SMALL LETTER H
209     character.
210     #ja
211     U+0048 LATIN CAPITAL LETTER H 文字か U+0068 LATIN SMALL LETTER H 文字。
212 apache 1.30
213    
214     #en
215     A U+004D LATIN CAPITAL LETTER M or U+006D LATIN SMALL LETTER M
216     character.
217     #ja
218 apache 1.31 U+004D LATIN CAPITAL LETTER M 文字か U+006D LATIN SMALL LETTER M 文字。
219    
220     #en
221     A U+004C LATIN CAPITAL LETTER L or U+006C LATIN SMALL LETTER L
222     character.
223     #ja
224 apache 1.32 U+004C LATIN CAPITAL LETTER L 文字か U+006C LATIN SMALL LETTER L 文字。
225    
226     #en
227 wakaba 1.44 Zero or more <a href=#space-character title="space character">space
228 apache 1.32 characters</a>.
229     #ja
230 wakaba 1.44 零個以上の<a href=#space-character title="space character">間隔文字</a>。
231 apache 1.33
232     #en
233     A U+003E GREATER-THAN SIGN (<code>&gt;</code>) character.
234     #ja
235 apache 1.34 U+003E GREATER-THAN SIGN (<code>&gt;</code>) 文字。
236    
237     #en
238     In other words, <code>&lt;!DOCTYPE HTML></code>,
239     case-insensitively.
240     #ja
241 apache 1.35 つまり、大文字または小文字の <code>&lt;!DOCTYPE HTML></code> です。
242    
243     #pattern
244     <span class=secno>* </span>Elements
245     #ja
246 apache 1.36 <span class=secno>$1 </span>要素
247    
248     #en
249 wakaba 1.44 There are five different kinds of <dfn id=dom-form-elements
250 apache 1.36 title=syntax-elements>elements</dfn>: void elements, CDATA elements,
251     RCDATA elements, foreign elements, and normal elements.
252     #ja
253 wakaba 1.44 <dfn id=dom-form-elements
254 apache 1.36 title=syntax-elements>要素</dfn>には5種類あります。
255 apache 1.37 空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素です。
256    
257     #en
258     <dfn id=void-elements>Void elements</dfn>
259     #ja
260 apache 1.38 <dfn id=void-elements>空隙要素</dfn>
261    
262     #en
263     CDATA elements
264     #ja
265 apache 1.39 CDATA 要素
266    
267     #en
268     RCDATA elements
269     #ja
270 apache 1.40 RCDATA 要素
271    
272     #en
273     Foreign elements
274     #ja
275 apache 1.41 外来要素
276    
277     #en
278 wakaba 1.44 Elements from the <a href=#mathml-namespace>MathML namespace</a> <!--XXXSVG
279 apache 1.41 and the <span>SVG namespace</span>.
280     #ja
281 wakaba 1.44 <a href=#mathml-namespace>MathML 名前空間</a>からの要素。<!--XXXSVG
282 apache 1.42 and the <span>SVG namespace</span>.
283    
284     #en
285     Normal elements
286     #ja
287 apache 1.43 通常要素
288    
289     #en
290 wakaba 1.44 All other allowed <a href=#html-elements>HTML elements</a> are
291 apache 1.43 normal elements.
292     #ja
293 apache 1.45 他の全ての認められている<a href=#html-elements>HTML 要素</a>は通常要素です。
294    
295     #en
296     The root element, in the form of an <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>element</a>.
297     #ja
298 apache 1.46 根要素を、 <code><a href=#the-html-element>html</a></code> <a href=#syntax-elements title=syntax-elements>要素</a>として。
299    
300     #en
301     Optionally, a <a href=#doctype-legacy-string>DOCTYPE legacy string</a> (defined below).
302     #ja
303 apache 1.47 任意選択で、 <a href=#doctype-legacy-string>DOCTYPE 遺物文字列</a> (後で定義します)。
304    
305     #en
306     In other words, <code>&lt;!DOCTYPE HTML&gt;</code>,
307     case-insensitively.
308     #ja
309 apache 1.48 すなわち、大文字または小文字の <code>&lt;!DOCTYPE HTML&gt;</code>。
310    
311     #en
312     For the purposes of XSLT generators that cannot output HTML
313     markup without a DOCTYPE, a <dfn id=doctype-legacy-string>DOCTYPE legacy string</dfn> may be
314     inserted into the DOCTYPE (in the position defined above). This
315     string must consist of:
316     #ja
317     DOCTYPE なしの HTML マーク付けを出力できない XSLT 生成器のため、
318     <dfn id=doctype-legacy-string>DOCTYPE 遺物文字列</dfn>を
319     DOCTYPE (の前述の位置) に挿入して[[MAY:構いません]]。
320 apache 1.49 この文字列は次のものから構成されなければ[[MUST:なりません]]。
321    
322     #pattern
323     A * or * character.
324     #ja
325 apache 1.50 $1 文字または * 文字。
326    
327     #en
328     The literal string "<code title="">XSLT-compat</code>".
329     #ja
330 apache 1.51 生の文字列「<code title="">XSLT-compat</code>」。
331    
332     #en
333     The same character as in item 9 (a matching U+0022 QUOTATION MARK or U+0027 APOSTROPHE character).
334     #ja
335 apache 1.52 項目9と同じ文字 (U+0022 QUOTATION MARK 文字または U+0027 APOSTROPHE 文字の一致する方)。
336    
337     #en
338     In other words, <code>&lt;!DOCTYPE HTML PUBLIC
339     "XSLT-compat"&gt;</code> or <code>&lt;!DOCTYPE HTML PUBLIC
340     'XSLT-compat'&gt;</code>, case-insensitively except for the bit in
341     quotes.
342     #ja
343     すなわち、引用符内以外は大文字か小文字の <code>&lt;!DOCTYPE HTML PUBLIC
344     "XSLT-compat"&gt;</code> または <code>&lt;!DOCTYPE HTML PUBLIC
345 apache 1.53 'XSLT-compat'&gt;</code>。
346    
347     #en
348     The <a href=#doctype-legacy-string>DOCTYPE legacy string</a> should not be used unless
349     the document is generated from XSLT.
350     #ja
351     <a href=#doctype-legacy-string>DOCTYPE 遺物文字列</a>は XSLT
352 apache 1.54 で生成された文書を除き使用する[[SHOULD NOT:べきではありません]]。
353    
354     #en
355     There are five different kinds of <dfn id=syntax-elements title=syntax-elements>elements</dfn>: void elements, CDATA
356     elements, RCDATA elements, foreign elements, and normal
357     elements.
358     #ja
359     <dfn id=syntax-elements title=syntax-elements>要素</dfn>には、
360 apache 1.55 空隙要素、 CDATA 要素、 RCDATA 要素、外来要素、通常要素の5つの異なる種類があります。
361    
362     #en
363     <dfn id=syntax-tags title=syntax-tags>Tags</dfn> are used to delimit the start
364     and end of elements in the markup. CDATA, RCDATA, and normal
365     elements have a <a href=#syntax-start-tags title=syntax-start-tags>start tag</a> to
366     indicate where they begin, and an <a href=#syntax-end-tags title=syntax-end-tags>end
367     tag</a> to indicate where they end. The start and end tags of
368     certain normal elements can be <a href=#syntax-tag-omission title=syntax-tag-omission>omitted</a>, as described
369     later. Those that cannot be omitted must not be omitted. <a href=#void-elements>Void
370     elements</a> only have a start tag; end tags must not be
371     specified for void elements. Foreign elements must either have a
372     start tag and an end tag, or a start tag that is marked as
373     self-closing, in which case they must not have an end tag.
374     #ja
375     <dfn id=syntax-tags title=syntax-tags>タグ</dfn>は、
376     マーク付けにおいて要素の開始と終了を区切るために使います。
377     CDATA 要素、 RCDATA 要素、通常要素は、
378     その始まる位置を示す<a href=#syntax-start-tags title=syntax-start-tags>開始タグ</a>と、
379     その終わる位置を示す<a href=#syntax-end-tags title=syntax-end-tags>終了タグ</a>を持ちます。
380     特定の通常要素の開始タグと終了タグは、
381     後述の通り<a href=#syntax-tag-omission title=syntax-tag-omission>省略</a>することができます。
382     省略できないものは省略しては[[MUST NOT:なりません]]。
383     <a href=#void-elements>空隙要素</a>は開始タグのみを持ちます。
384     空隙要素に終了タグを指定しては[[MUST NOT:なりません]]。
385     外来要素は開始タグと終了タグを持つか、または開始タグを自己閉塞と印付けするかのいずれかで[[MUST:なければなりらず]]、
386     後者の場合終了タグを持っては[[MUST NOT:なりません]]。
387 apache 1.56
388    
389     #en
390     The contents of the element must be placed between just after the
391     start tag (which <a href=#syntax-tag-omission title=syntax-tag-omission>might be implied,
392     in certain cases</a>) and just before the end tag (which again,
393     <a href=#syntax-tag-omission title=syntax-tag-omission>might be implied in certain
394     cases</a>). The exact allowed contents of each individual element
395     depends on the content model of that element, as described earlier
396     in this specification. Elements must not contain content that their
397     content model disallows. In addition to the restrictions placed on
398     the contents by those content models, however, the five types of
399     elements have additional <em>syntactic</em> requirements.
400     #ja
401     要素の内容は開始タグ (これは<a href=#syntax-tag-omission title=syntax-tag-omission>場合によっては暗示的なものかもしれません</a>。)
402     の直後と終了タグ (これも<a href=#syntax-tag-omission title=syntax-tag-omission>場合によっては暗示的なものかもしれません</a>。)
403     の直前の間に配置しなければ[[MUST:なりません]]。
404     各要素それぞれで認められる内容は正確には、この仕様書の先の方で説明した当該要素の内容モデルに依存します。
405     要素はその内容モデルが禁じた内容を含んではなりません。しかも、
406 apache 1.57 各要素の内容モデルによって内容に課した制約に加えて、5種類の要素には追加の<em>構文的</em>要件があります。
407    
408     #en
409     <a href=#void-elements>Void elements</a> can't have any contents (since there's
410     no end tag, no content can be put between the start tag and the end
411     tag).
412     #ja
413     <a href=#void-elements>空隙要素</a>は内容を持つことができません
414 apache 1.58 (終了タグがないので、内容を開始タグと終了タグの間に置くことができません)。
415    
416     #en
417     CDATA elements can have <a href=#syntax-text title=syntax-text>text</a>,
418     though it has <a href=#cdata-rcdata-restrictions>restrictions</a>
419     described below.
420     #ja
421     CDATA 要素は<a href=#syntax-text title=syntax-text>テキスト</a>を持つことができますが、
422 apache 1.59 後述の<a href=#cdata-rcdata-restrictions>制約</a>があります。
423    
424     #en
425     RCDATA elements can have <a href=#syntax-text title=syntax-text>text</a>
426     and <a href=#syntax-charref title=syntax-charref>character references</a>, but
427     the text must not contain an <a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous ampersand</a>.
428     There are also <a href=#cdata-rcdata-restrictions>further
429     restrictions</a> described below.
430     #ja
431     RCDATA 要素は<a href=#syntax-text title=syntax-text>テキスト</a>と<a href=#syntax-charref title=syntax-charref>文字参照</a>を持つことができますが、
432     テキストは<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含んでは[[MUST NOT:なりません]]。
433 apache 1.60 後述の<a href=#cdata-rcdata-restrictions>追加制約</a>もあります。
434    
435     #en
436     Foreign elements whose start tag is marked as self-closing can't
437     have any contents (since, again, as there's no end tag, no content
438     can be put between the start tag and the end tag). Foreign elements
439     whose start tag is <em>not</em> marked as self-closing can have
440     <a href=#syntax-text title=syntax-text>text</a>, <a href=#syntax-charref title=syntax-charref>character references</a>, <a href=#syntax-cdata title=syntax-cdata>CDATA sections</a>, other <a href=#syntax-elements title=syntax-elements>elements</a>, and <a href=#syntax-comments title=syntax-comments>comments</a>, but the text must not
441     contain the character U+003C LESS-THAN SIGN (<code>&lt;</code>) or
442     an <a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>ambiguous
443     ampersand</a>.
444     #ja
445     開始タグが自己閉塞と印付けされた外来要素は内容を持つことができません
446     (やはり、終了タグがないため、内容を開始タグと終了タグの間に置くことができないからです)。
447     開始タグが自己閉塞と印付けされて<em>いない</em>外来要素は<a href=#syntax-text title=syntax-text>テキスト</a>、
448     <a href=#syntax-charref title=syntax-charref>文字参照</a>、
449     <a href=#syntax-cdata title=syntax-cdata>CDATA 区間</a>、
450     他の<a href=#syntax-elements title=syntax-elements>要素</a>、
451     <a href=#syntax-comments title=syntax-comments>注釈</a>を持つことができますが、
452     テキストは文字 U+003C LESS-THAN SIGN (<code>&lt;</code>)
453 apache 1.61 や<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>&lt;</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>&lt;</code>)
471     や<a href=#syntax-ambiguous-ampersand title=syntax-ambiguous-ampersand>曖昧アンド記号</a>を含んでは[[MUST NOT:なりません]]。
472     いくつかの通常要素は、保持することが認められる内容に関して、
473     内容モデルにより課される制約やこの段落で説明した制約に加え、
474     <a href=#element-restrictions>更に追加の制約</a>をも有します。
475 apache 1.62 その制約については後述します。
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 apache 1.63
497    
498     #pattern
499     <span class=secno>* </span>Start tags
500     #ja
501 apache 1.64 <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:なりません]]。

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24