-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtext-level-semantics.html
More file actions
3126 lines (2494 loc) · 242 KB
/
Copy pathtext-level-semantics.html
File metadata and controls
3126 lines (2494 loc) · 242 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html lang="ja"><meta charset="utf-8"><title>4.5 テキストレベルセマンティック — HTML5 日本語訳</title><script src="link-fixup.js"></script>
<style type="text/css">
body {line-height:1.5;}
.applies thead th > * { display: block; }
.applies thead code { display: block; }
.applies tbody th { white-space: nowrap; }
.applies td { text-align: center; }
.applies .yes { background: yellow; }
.matrix, .matrix td { border: hidden; text-align: right; }
.matrix { margin-left: 2em; }
.dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
.dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
.dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
td.eg { border-width: thin; text-align: center; }
#table-example-1 { border: solid thin; border-collapse: collapse; margin-left: 3em; }
#table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
#table-example-1 caption { padding-bottom: 0.5em; }
#table-example-1 thead, #table-example-1 tbody { border: none; }
#table-example-1 th, #table-example-1 td { border: solid thin; }
#table-example-1 th { font-weight: normal; }
#table-example-1 td { border-style: none solid; vertical-align: top; }
#table-example-1 th { padding: 0.5em; vertical-align: middle; text-align: center; }
#table-example-1 tbody tr:first-child td { padding-top: 0.5em; }
#table-example-1 tbody tr:last-child td { padding-bottom: 1.5em; }
#table-example-1 tbody td:first-child { padding-left: 2.5em; padding-right: 0; width: 9em; }
#table-example-1 tbody td { padding-left: 2em; padding-right: 2em; }
#table-example-1 tbody td:first-child + td { width: 10em; }
#table-example-1 tbody td:first-child + td ~ td { width: 2.5em; }
#table-example-1 tbody td:first-child + td + td + td ~ td { width: 1.25em; }
.apple-table-examples { border: none; border-collapse: separate; border-spacing: 1.5em 0em; width: 40em; margin-left: 3em; }
.apple-table-examples * { font-family: "Times", serif; }
.apple-table-examples td, .apple-table-examples th { border: none; white-space: nowrap; padding-top: 0; padding-bottom: 0; }
.apple-table-examples tbody th:first-child { border-left: none; width: 100%; }
.apple-table-examples thead th:first-child ~ th { font-size: smaller; font-weight: bolder; border-bottom: solid 2px; text-align: center; }
.apple-table-examples tbody th, .apple-table-examples tfoot th { font: inherit; text-align: left; }
.apple-table-examples td { text-align: right; vertical-align: top; }
.apple-table-examples.e1 tbody tr:last-child td { border-bottom: solid 1px; }
.apple-table-examples.e1 tbody + tbody tr:last-child td { border-bottom: double 3px; }
.apple-table-examples.e2 th[scope=row] { padding-left: 1em; }
.apple-table-examples sup { line-height: 0; }
.details-example img { vertical-align: top; }
#base64-table {
white-space: nowrap;
font-size: 0.6em;
column-width: 6em;
column-count: 5;
column-gap: 1em;
-moz-column-width: 6em;
-moz-column-count: 5;
-moz-column-gap: 1em;
-webkit-column-width: 6em;
-webkit-column-count: 5;
-webkit-column-gap: 1em;
}
#base64-table thead { display: none; }
#base64-table * { border: none; }
#base64-table tbody td:first-child:after { content: ':'; }
#base64-table tbody td:last-child { text-align: right; }
#named-character-references-table {
white-space: nowrap;
font-size: 0.6em;
column-width: 30em;
column-gap: 1em;
-moz-column-width: 30em;
-moz-column-gap: 1em;
-webkit-column-width: 30em;
-webkit-column-gap: 1em;
}
#named-character-references-table > table > tbody > tr > td:first-child + td,
#named-character-references-table > table > tbody > tr > td:last-child { text-align: center; }
#named-character-references-table > table > tbody > tr > td:last-child:hover > span { position: absolute; top: auto; left: auto; margin-left: 0.5em; line-height: 1.2; font-size: 5em; border: outset; padding: 0.25em 0.5em; background: white; width: 1.25em; height: auto; text-align: center; }
#named-character-references-table > table > tbody > tr#entity-CounterClockwiseContourIntegral > td:first-child { font-size: 0.5em; }
.glyph.control { color: red; }
@font-face {
font-family: 'Essays1743';
src: url('fonts/Essays1743.ttf');
}
@font-face {
font-family: 'Essays1743';
font-weight: bold;
src: url('fonts/Essays1743-Bold.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
src: url('fonts/Essays1743-Italic.ttf');
}
@font-face {
font-family: 'Essays1743';
font-style: italic;
font-weight: bold;
src: url('fonts/Essays1743-BoldItalic.ttf');
}
</style>
<style type="text/css">
pre { margin-left: 2em; white-space: pre-wrap; }
h2 { margin: 3em 0 1em 0; }
h3 { margin: 2.5em 0 1em 0; }
h4 { margin: 2.5em 0 0.75em 0; }
h5, h6 { margin: 2.5em 0 1em; }
h1 + h2, h1 + h2 + h2, h1 + p, h1 + p + h2 { margin: 0.75em 0 0.75em; }
h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
p { margin: 1em 0; }
hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
.element dd, .element dl { margin-top: 0em; margin-bottom: 0.25em;}
dt { margin-top: 0.75em; margin-bottom: 0.5em; clear: left; }
.element dt { margin-top: 0.5em; margin-bottom: 0.5em; }
dt + dt { margin-top: 0; }
dd dt { margin-top: 0.25em; margin-bottom: 0; }
dd p { margin-top: 0; }
dd dl + p { margin-top: 1em; }
dd table + p { margin-top: 1em; }
p + * > li, dd li { margin: 1em 0; }
dt, dfn { font-weight: bold; font-style: normal; }
i, em { font-style: italic; }
dt dfn { font-style: italic; }
pre, code { font-size: inherit; font-family: monospace; font-variant: normal; }
pre strong { color: black; font: inherit; font-weight: bold; background: yellow; }
pre em { font-weight: bolder; font-style: normal; }
@media screen { code { color: #D93B00; } code :link, code :visited { color: inherit; } }
var { background-color: #f9f9f9; border: 1px solid #eee; padding: 0 2px; }
var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; }
table { border-collapse: collapse; border-style: hidden hidden none hidden; }
table thead, table tbody { border-bottom: solid; }
table tbody th:first-child { border-left: solid; }
table tbody th { text-align: left; }
table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; }
blockquote { margin: 0 0 0 2em; border: 0; padding: 0; font-style: italic; }
.bad, .bad *:not(.XXX) { color: #5F6D7A; border-color: gray; background: transparent; }
.matrix, .matrix td { border: none; text-align: right; }
.matrix { margin-left: 2em; }
.dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
.dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
.dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
.toc dfn, h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font: inherit; }
img.extra, p.overview { float: right; }
pre.idl { border: solid thin #d3d3d3; background: #FCFCFC; color: black; padding: 0.5em 1em; position: relative; }
pre.idl :link, pre.idl :visited { color: inherit; background: transparent; }
pre.idl::before { content: "IDL"; font: bold small sans-serif; padding: 0.5em; background: white; position: absolute; top: 0; margin: -1px 0 0 -4em; width: 1.5em; border: thin solid; border-radius: 0 0 0 0.5em }
pre.css { border: solid thin; background: #FFFFEE; color: black; padding: 0.5em 1em; }
pre.css:first-line { color: #AAAA50; }
dl.domintro {padding: 0.5em 1em; border: none; background:#E9FBE9; border: 1px solid lightgray; }
hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
dl.domintro dd p { margin: 0.5em 0; }
dl.domintro:before { display: table; margin: -1em -0.5em -0.5em auto; width: auto; content: 'This definition is non-normative. Implementation requirements are given below this definition.'; color: #606060; border:1px solid lightgray; background: white; padding: 0 0.25em;font-size:.9em;}
dl.switch { padding-left: 2em; }
dl.switch > dt { text-indent: -1.5em; }
dl.switch > dt:before { content: '\21AA'; padding: 0 0.5em 0 0; display: inline-block; width: 1em; text-align: right; line-height: 0.5em; }
dl.triple { padding: 0 0 0 1em; }
dl.triple dt, dl.triple dd { margin: 0; display: inline }
dl.triple dt:after { content: ':'; }
dl.triple dd:after { content: '\A'; white-space: pre; }
.diff-old { text-decoration: line-through; color: silver; background: transparent; }
.diff-chg, .diff-new { text-decoration: underline; color: green; background: transparent; }
a .diff-new { border-bottom: 1px blue solid; }
figure.diagrams { border: double black; background: white; padding: 1em; }
figure.diagrams img { display: block; margin: 1em auto; }
h2 { page-break-before: always; }
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
h1 + h2, hr + h2.no-toc { page-break-before: auto; }
p > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]):not([class="t2"]):not([id]):not([lang]),
li > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]):not([class="t2"]):not([id]):not([lang])
{ border-bottom: solid #9999CC; }
div.head { margin: 0 0 1em; padding: 1em 0 0 0; }
div.head p { margin: 0; }
div.head h1 { margin: 0; }
div.head .logo { float: right; margin: 0 1em; }
div.head .logo img { border: none } /* remove border from top image */
div.head dl { margin: 1em 0; }
div.head p.copyright, div.head p.alt { font-size: x-small; font-style: oblique; margin: 0; }
body > .toc > li { margin-top: 1em; margin-bottom: 1em; }
body > .toc.brief > li { margin-top: 0.35em; margin-bottom: 0.35em; }
body > .toc > li > * { margin-bottom: 0.5em; }
body > .toc > li > * > li > * { margin-bottom: 0.25em; }
.toc, .toc li { list-style: none; }
.brief { margin-top: 1em; margin-bottom: 1em; line-height: 1.1; }
.brief li { margin: 0; padding: 0; }
.brief li p { margin: 0; padding: 0; }
.category-list { margin-top: -0.75em; margin-bottom: 1em; line-height: 1.5; }
.category-list::before { content: '\21D2\A0'; font-size: 1.2em; font-weight: 900; }
.category-list li { display: inline; }
.category-list li:not(:last-child)::after { content: ', '; }
.category-list li > span, .category-list li > a { text-transform: lowercase; }
.category-list li * { text-transform: none; } /* don't affect <code> nested in <a> */
.XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
.XXX > :first-child { margin-top: 0; }
p .XXX { line-height: 3em; }
.annotation { border: solid thin black; background: #0C479D; color: white; position: relative; margin: 8px 0 20px 0; }
.annotation:before { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 6px -6px -6px 6px; background: #333333; z-index: -1; content: ''; }
.annotation :link, .annotation :visited { color: inherit; }
.annotation :link:hover, .annotation :visited:hover { background: transparent; }
.annotation span { border: none ! important; }
.note { border-left-style: solid; border-left-width: 0.25em; background: none repeat scroll 0 0 #E9FBE9; border-color: #52E052; }
.warning { background-color: #F9F0D4; border: medium double #FF0000; margin: 1em; padding: 1em; }
.note em, .warning em, .note i, .warning i { font-style: normal; }
p.note, div.note { padding: 0.5em 2em; }
span.note { padding: 0 2em; }
.note p:first-child, .warning p:first-child { margin-top: 0; }
.note p:last-child, .warning p:last-child { margin-bottom: 0; }
.warning:before { font-style: normal; }
p.note:before { content: 'Note: '; font-weight: bolder;}
p.warning:before { content: '\26A0 Warning! '; font-weight:bolder;}
.critical {margin:1em; border:double red; padding:1em; background-color:#F9F0D4;}
.bookkeeping:before { display: block; content: 'Bookkeeping details'; font-weight: bolder; font-style: italic; }
.bookkeeping { font-size: 0.8em; margin: 2em 0; }
.bookkeeping p { margin: 0.5em 2em; display: list-item; list-style: square; }
.bookkeeping dt { margin: 0.5em 2em 0; }
.bookkeeping dd { margin: 0 3em 0.5em; }
h4 { position: relative; z-index: 3; }
h4 + .element, h4 + div + .element { margin-top: -2.5em; padding-top: 2em; }
.element {
background: #F4F4FA;
color: black;
margin: 0 0 1em 0.15em;
padding: 0 1em 0.25em 0.75em;
border-left: solid #9999FF 0.25em;
position: relative;
z-index: 1;
}
.element:before {
position: absolute;
z-index: 2;
top: 0;
left: -1.15em;
height: 2em;
width: 0.9em;
background: #F4F4FA;
content: ' ';
border-style: none none solid solid;
border-color: #9999FF;
border-width: 0.25em;
}
.example { display: block; color: #222222; background: #FCFCFC; border-left-style: solid;border-color:#c0c0c0; border-left-width: 0.25em; margin-left: 1em; padding-left: 1em;padding-bottom: 0.5em;}
div.example:before { content: 'Code Example: '; font-weight: bolder;}
td > .example:only-child { margin: 0 0 0 0.1em; }
ul.domTree, ul.domTree ul { padding: 0 0 0 1em; margin: 0; }
ul.domTree li { padding: 0; margin: 0; list-style: none; position: relative; }
ul.domTree li li { list-style: none; }
ul.domTree li:first-child::before { position: absolute; top: 0; height: 0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
ul.domTree li:not(:last-child)::after { position: absolute; top: 0; bottom: -0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
ul.domTree span { font-style: italic; font-family: serif; }
ul.domTree .t1 code { color: purple; font-weight: bold; }
ul.domTree .t2 { font-style: normal; font-family: monospace; }
ul.domTree .t2 .name { color: black; font-weight: bold; }
ul.domTree .t2 .value { color: blue; font-weight: normal; }
ul.domTree .t3 code, .domTree .t4 code, .domTree .t5 code { color: gray; }
ul.domTree .t7 code, .domTree .t8 code { color: green; }
ul.domTree .t10 code { color: teal; }
body.dfnEnabled dfn { cursor: pointer; }
.dfnPanel {
display: inline;
position: absolute;
z-index: 10;
height: auto;
width: auto;
padding: 0.5em 0.75em;
font: small sans-serif, Droid Sans Fallback;
background: #DDDDDD;
color: black;
border: outset 0.2em;
}
.dfnPanel * { margin: 0; padding: 0; font: inherit; text-indent: 0; }
.dfnPanel :link, .dfnPanel :visited { color: black; }
.dfnPanel p { font-weight: bolder; }
.dfnPanel * + p { margin-top: 0.25em; }
.dfnPanel li { list-style-position: inside; }
#configUI { position: absolute; z-index: 20; top: 10em; right: 1em; width: 11em; font-size: small; }
#configUI p { margin: 0.5em 0; padding: 0.3em; background: #EEEEEE; color: black; border: inset thin; }
#configUI p label { display: block; }
#configUI #updateUI, #configUI .loginUI { text-align: center; }
#configUI input[type=button] { display: block; margin: auto; }
fieldset { margin: 1em; padding: 0.5em 1em; }
fieldset > legend + * { margin-top: 0; }
fieldset > :last-child { margin-bottom: 0; }
fieldset p { margin: 0.5em 0; }
header p.subline {color:#005A9C; font: 140% sans-serif;margin: 0.75em 0;}
#authorButton {overflow: visible; padding: 0.1em 0.3em; position: fixed; right: 2em; top: 6em; width: auto;}
@media print {#authorButton { display:none;}}
.stability {
position: fixed;
bottom: 0;
left: 0; right: 0;
margin: 0 auto 0 auto;
width: 50%;
background: maroon; color: yellow;
-webkit-border-radius: 1em 1em 0 0;
-moz-border-radius: 1em 1em 0 0;
border-radius: 1em 1em 0 0;
-moz-box-shadow: 0 0 1em #500;
-webkit-box-shadow: 0 0 1em #500;
box-shadow: 0 0 1em red;
padding: 0.5em 1em;
text-align: center;
}
.stability strong {
display: block;
}
.stability input {
-moz-appearance: none; -webkit-appearance: none; margin: 0;
border: 0; padding: 0.25em 0.5em; background: transparent; color: black;
position: absolute; top: -0.5em; right: 0; font: 1.25em sans-serif; text-align: center;
}
.stability input:hover {
color: white;
text-shadow: 0 0 2px black;
}
.stability input:active {
padding: 0.3em 0.45em 0.2em 0.55em;
}
.stability :link, .stability :visited,
.stability :link:hover, .stability :visited:hover {
background: transparent;
color: white;
}
</style><!-- style switcher script by Stommepoes --><link href="http://www.w3.org/StyleSheets/TR/W3C-REC" rel="stylesheet" type="text/css"><link href="switcher/author-view.css" id="author-view" rel="alternate stylesheet" title="Author documentation only"><script src="switcher/authorstylesheet.js"></script><link href="grouping-content.html" rel="prev" title="4.4 Grouping content">
<link href="Overview.html#contents" rel="contents" title="目次">
<link href="edits.html" rel="next" title="4.6 Edits">
<body class="split chapter" onload="fixBrokenLink();"><div class="head" id="head">
<header><span id="styleSwitch"></span>
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1 id="big-title">HTML5日本語訳</h1>
<p class="no-num no-toc subline">HTMLとXHTMLのための語彙と関連API</p>
<h2 class="no-num no-toc" id="w3c-recommendation-28-october-2014">W3C Recommendation 28 October 2014</h2>
</header></div>
<nav class="prev_next">
<a href="grouping-content.html">← 4.4 グルーピングコンテンツ</a> – <a href="Overview.html#contents">目次</a> – <a href="edits.html">4.6 編集 →</a>
<ol class="toc"><li><ol><li><a href="text-level-semantics.html#text-level-semantics"><span class="secno">4.5</span> テキストレベルセマンティック</a>
<ol><li><a href="text-level-semantics.html#the-a-element"><span class="secno">4.5.1</span> <code>a</code>要素</a></li><li><a href="text-level-semantics.html#the-em-element"><span class="secno">4.5.2</span> <code>em</code>要素</a></li><li><a href="text-level-semantics.html#the-strong-element"><span class="secno">4.5.3</span> <code>strong</code>要素</a></li><li><a href="text-level-semantics.html#the-small-element"><span class="secno">4.5.4</span> <code>small</code>要素</a></li><li><a href="text-level-semantics.html#the-s-element"><span class="secno">4.5.5</span> <code>s</code>要素</a></li><li><a href="text-level-semantics.html#the-cite-element"><span class="secno">4.5.6</span> <code>cite</code>要素</a></li><li><a href="text-level-semantics.html#the-q-element"><span class="secno">4.5.7</span> <code>q</code>要素</a></li><li><a href="text-level-semantics.html#the-dfn-element"><span class="secno">4.5.8</span> <code>dfn</code>要素</a></li><li><a href="text-level-semantics.html#the-abbr-element"><span class="secno">4.5.9</span> <code>abbr</code>要素</a></li><li><a href="text-level-semantics.html#the-data-element"><span class="secno">4.5.10</span> <code>data</code>要素</a></li><li><a href="text-level-semantics.html#the-time-element"><span class="secno">4.5.11</span> <code>time</code>要素</a></li><li><a href="text-level-semantics.html#the-code-element"><span class="secno">4.5.12</span> <code>code</code>要素</a></li><li><a href="text-level-semantics.html#the-var-element"><span class="secno">4.5.13</span> <code>var</code>要素</a></li><li><a href="text-level-semantics.html#the-samp-element"><span class="secno">4.5.14</span> <code>samp</code>要素</a></li><li><a href="text-level-semantics.html#the-kbd-element"><span class="secno">4.5.15</span> <code>kbd</code>要素</a></li><li><a href="text-level-semantics.html#the-sub-and-sup-elements"><span class="secno">4.5.16</span> <code>sub</code>および<code>sup</code>要素</a></li><li><a href="text-level-semantics.html#the-i-element"><span class="secno">4.5.17</span> <code>i</code>要素</a></li><li><a href="text-level-semantics.html#the-b-element"><span class="secno">4.5.18</span> <code>b</code>要素</a></li><li><a href="text-level-semantics.html#the-u-element"><span class="secno">4.5.19</span> <code>u</code>要素</a></li><li><a href="text-level-semantics.html#the-mark-element"><span class="secno">4.5.20</span> <code>mark</code>要素</a></li><li><a href="text-level-semantics.html#the-ruby-element"><span class="secno">4.5.21</span> <code>ruby</code>要素</a></li><li><a href="text-level-semantics.html#the-rb-element"><span class="secno">4.5.22</span> <code>rb</code>要素</a></li><li><a href="text-level-semantics.html#the-rt-element"><span class="secno">4.5.23</span> <code>rt</code>要素</a></li><li><a href="text-level-semantics.html#the-rtc-element"><span class="secno">4.5.24</span> <code>rtc</code>要素</a></li><li><a href="text-level-semantics.html#the-rp-element"><span class="secno">4.5.25</span> <code>rp</code>要素</a></li><li><a href="text-level-semantics.html#the-bdi-element"><span class="secno">4.5.26</span> <code>bdi</code>要素</a></li><li><a href="text-level-semantics.html#the-bdo-element"><span class="secno">4.5.27</span> <code>bdo</code>要素</a></li><li><a href="text-level-semantics.html#the-span-element"><span class="secno">4.5.28</span> <code>span</code>要素</a></li><li><a href="text-level-semantics.html#the-br-element"><span class="secno">4.5.29</span> <code>br</code>要素</a></li><li><a href="text-level-semantics.html#the-wbr-element"><span class="secno">4.5.30</span> <code>wbr</code>要素</a></li><li><a href="text-level-semantics.html#usage-summary"><span class="secno">4.5.31</span> 使用方法の概要</a></li></ol></li></ol></li></ol></nav>
<h3 id="text-level-semantics"><span class="secno">4.5</span> テキストレベルセマンティック</h3>
<h4 id="the-a-element"><span class="secno">4.5.1</span> <dfn><code>a</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#interactive-content-0">インタラクティブコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#transparent">透過的</a>、ただし<a href="dom.html#interactive-content-0">インタラクティブコンテンツ</a>の子孫が存在してはならない。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dd><code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> — <a href="links.html#hyperlink">ハイパーリンク</a>のアドレス</dd>
<dd><code data-anolis-xref="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code> — <a href="links.html#hyperlink">ハイパーリンク</a><a data-anolis-xref="navigate" href="browsers.html#navigate">ナビゲーション</a>および<a href="forms.html#form-submission-0">フォーム送信</a>に対する<a href="browsers.html#browsing-context">ブラウジングコンテキスト</a></dd>
<dd><code data-anolis-xref="attr-hyperlink-download"><a href="links.html#attr-hyperlink-download">download</a></code> - リソースをナビゲートする代わりにダウンロードし、その場合リソースのファイル名にするかどうか</dd><!--PING-->
<dd><code data-anolis-xref="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code> — ハイパーリンクと宛先のリソースを含む文書の関係</dd>
<dd><code data-anolis-xref="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code> — リンクされたリソースの言語</dd>
<dd><code data-anolis-xref="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code> — 参照されるリソースタイプのヒント</dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#index-aria-link"><code title="">link</code></a>(デフォルト - <a href="dom.html#aria-usage-note"><em>設定しない</em></a>)、<a href="dom.html#index-aria-button"><code title="">button</code></a>、<a href="dom.html#index-aria-checkbox"><code title="">checkbox</code></a>、<a href="dom.html#index-aria-menuitem"><code title="">menuitem</code></a>、<a href="dom.html#index-aria-menuitemcheckbox"><code title="">menuitemcheckbox</code></a>、<a href="dom.html#index-aria-menuitemradio"><code title="">menuitemradio</code></a>、<a href="dom.html#index-aria-tab"><code title="">tab</code></a>または<a href="dom.html#index-aria-treeitem"><code title="">treeitem</code></a></dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd>
<pre class="idl">interface <dfn id="htmlanchorelement">HTMLAnchorElement</dfn> : <a href="dom.html#htmlelement">HTMLElement</a> {
attribute DOMString <a data-anolis-xref="dom-a-target" href="#dom-a-target">target</a>;
attribute DOMString <a data-anolis-xref="dom-a-download" href="#dom-a-download">download</a>;
<!--PING-->
attribute DOMString <a data-anolis-xref="dom-a-rel" href="#dom-a-rel">rel</a>;
attribute DOMString <a data-anolis-xref="dom-a-rev" href="#dom-a-rev">rev</a>;
readonly attribute <a href="infrastructure.html#domtokenlist">DOMTokenList</a> <a data-anolis-xref="dom-a-relList" href="#dom-a-rellist">relList</a>;
attribute DOMString <a data-anolis-xref="dom-a-hreflang" href="#dom-a-hreflang">hreflang</a>;
attribute DOMString <a data-anolis-xref="dom-a-type" href="#dom-a-type">type</a>;
attribute DOMString <a data-anolis-xref="dom-a-text" href="#dom-a-text">text</a>;
};
<a href="#htmlanchorelement">HTMLAnchorElement</a> implements <a href="infrastructure.html#urlutils">URLUtils</a>;</pre>
</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-a-element">a</a></code>要素が<code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code>属性を持つ場合、要素はそのコンテンツにラベル付けされた<a href="links.html#hyperlink">ハイパーリンク</a>(ハイパーテキストアンカー)を<a href="dom.html#represents">表す</a>。</p><!-- v2: Eric Meyer requests the ability to nest links so that a big hyperlink, e.g. representing
a calendar event, can be clickable, while within it there are subareas that represent links to
distinct areas, e.g. a link to see photos of the event, or to edit the event, or some such. -->
<p><code><a href="#the-a-element">a</a></code>要素が<code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code>属性を持たない場合、要素が関連していたならば、要素は、要素のコンテンツからなる、リンクが別の方法で置かれているかもしれない場所に対するプレースホルダーを<a href="dom.html#represents">表す</a>。</p>
<p>The <code data-anolis-xref="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>,
<code data-anolis-xref="attr-hyperlink-download"><a href="links.html#attr-hyperlink-download">download</a></code>,
<!--PING-->
<code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code>属性が存在しない場合、<code data-anolis-xref="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">target</a></code>、<code data-anolis-xref="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code>、および<code data-anolis-xref="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code>属性は省略しなければならない。</p>
<div class="example">
<p>サイトがすべてのページに一貫性のあるナビゲーションツールバーを使用する場合、通常ページ自身へリンクするリンクは、<code><a href="#the-a-element">a</a></code>要素を使ってマークアップできる:</p>
<pre><nav>
<ul>
<li> <a href="/">Home</a> </li>
<li> <a href="/news">News</a> </li>
<li> <a>Examples</a> </li>
<li> <a href="/legal">Legal</a> </li>
</ul>
</nav></pre>
</div>
<div class="impl">
<p>The <code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code>, <code data-anolis-xref="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>, <code data-anolis-xref="attr-hyperlink-download"><a href="links.html#attr-hyperlink-download">download</a></code>, and
<!--PING-->
attributes affect what happens when users <a data-anolis-xref="following hyperlinks" href="links.html#following-hyperlinks">follow
hyperlinks</a> or <a data-anolis-xref="downloading hyperlinks" href="links.html#downloading-hyperlinks">download hyperlinks</a> created using
the <code><a href="#the-a-element">a</a></code> element. The <code data-anolis-xref="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code>, <code data-anolis-xref="attr-hyperlink-hreflang"><a href="links.html#attr-hyperlink-hreflang">hreflang</a></code>, and <code data-anolis-xref="attr-hyperlink-type"><a href="links.html#attr-hyperlink-type">type</a></code>
attributes may be used to indicate to the user the likely nature of the target resource before the
user follows the link.</p>
<p>The <a href="dom.html#activation-behavior">activation behavior</a> of <code><a href="#the-a-element">a</a></code> elements that create <a data-anolis-xref="hyperlink" href="links.html#hyperlink">hyperlinks</a> is to run the following steps:</p>
<ol><!-- c.f. <area>'s similar section, also <link>'s --><li><p>If the <code><a href="#the-a-element">a</a></code> element's <code><a href="dom.html#document">Document</a></code> is not <a href="browsers.html#fully-active">fully active</a>, then abort these steps.</li>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2033 -->
<!-- http://www.hixie.ch/tests/adhoc/html/navigation/iframe/002.html -->
<li>
<p>If either the <code><a href="#the-a-element">a</a></code> element has a <code data-anolis-xref="attr-hyperlink-download"><a href="links.html#attr-hyperlink-download">download</a></code> attribute and the algorithm is not <a href="browsers.html#allowed-to-show-a-popup">allowed
to show a popup</a>, or the element's <code data-anolis-xref="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code>
attribute is present and applying <a href="browsers.html#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name">the rules for choosing a browsing context given a
browsing context name</a>, using the value of the <code data-anolis-xref="attr-hyperlink-target"><a href="links.html#attr-hyperlink-target">target</a></code> attribute as the browsing context name, would result
in there not being a chosen browsing context, then run these substeps:</p>
<ol><li><p>If there is an <a href="webappapis.html#entry-settings-object">entry settings object</a>, throw an
<code><a href="infrastructure.html#invalidaccesserror">InvalidAccessError</a></code> exception.</li>
<li><p>Abort these steps without following the hyperlink.</li>
</ol></li>
<li><p>If the target of the <code data-anolis-xref="event-click"><a href="infrastructure.html#event-click">click</a></code> event is an <code><a href="embedded-content-0.html#the-img-element">img</a></code>
element with an <code data-anolis-xref="attr-img-ismap"><a href="embedded-content-0.html#attr-img-ismap">ismap</a></code> attribute specified, then server-side
image map processing must be performed, as follows:</p>
<ol><!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A...%3Ca%20href%3D%22%23%22%3E%3Cimg%20ismap%20usemap%3D%22%23a%22%20src%3D/resources/images/smallcats%3E%3C/a%3E%0A%3Cmap%20name%3Da%3E%3Carea%20shape%3Drect%20coords%3D0%2C0%2C50%2C50%20href%3Db%3E%3C/map%3E --><li>If the <code data-anolis-xref="event-click"><a href="infrastructure.html#event-click">click</a></code> event was a real pointing-device-triggered
<code data-anolis-xref="event-click"><a href="infrastructure.html#event-click">click</a></code> event on the <code><a href="embedded-content-0.html#the-img-element">img</a></code> element, then let <var data-anolis-xref="">x</var> be the distance in CSS pixels from the left edge of the image's left border,
if it has one, or the left edge of the image otherwise, to the location of the click, and let
<var data-anolis-xref="">y</var> be the distance in CSS pixels from the top edge of the image's top
border, if it has one, or the top edge of the image otherwise, to the location of the click.
Otherwise, let <var data-anolis-xref="">x</var> and <var data-anolis-xref="">y</var> be zero.</li>
<li>Let the <dfn id="hyperlink-suffix"><var>hyperlink suffix</var></dfn> be a U+003F QUESTION MARK character, the
value of <var data-anolis-xref="">x</var> expressed as a base-ten integer using <a href="infrastructure.html#ascii-digits">ASCII digits</a>,
a "," (U+002C) character, and the value of <var data-anolis-xref="">y</var> expressed as a base-ten
integer using <a href="infrastructure.html#ascii-digits">ASCII digits</a>.</li>
</ol></li>
<li><p>Finally, the user agent must <a data-anolis-xref="following hyperlinks" href="links.html#following-hyperlinks">follow the
hyperlink</a> or <a data-anolis-xref="downloading hyperlinks" href="links.html#downloading-hyperlinks">download the hyperlink</a> created by
the <code><a href="#the-a-element">a</a></code> element, as determined by the <code data-anolis-xref="attr-hyperlink-download"><a href="links.html#attr-hyperlink-download">download</a></code> attribute and any expressed user preference. If
the steps above defined a <var><a href="#hyperlink-suffix">hyperlink suffix</a></var>, then take that into account when following
or downloading the hyperlink.</li>
</ol></div><!--TOPIC:DOM APIs-->
<dl class="domintro"><dt><var data-anolis-xref="">a</var> . <code data-anolis-xref="dom-a-text"><a href="#dom-a-text">text</a></code></dt>
<dd>
<p><code><a href="infrastructure.html#textcontent">textContent</a></code>と同じ。</p>
</dd>
</dl><div class="impl">
<p>The IDL attributes <dfn data-anolis-xref="dom-a-download" id="dom-a-download"><code>download</code></dfn>,
<!--PING-->
<dfn data-anolis-xref="dom-a-target" id="dom-a-target"><code>target</code></dfn>,
<dfn data-anolis-xref="dom-a-rel" id="dom-a-rel"><code>rel</code></dfn>, <dfn data-anolis-xref="dom-a-rev" id="dom-a-rev"><code>rev</code></dfn>, <dfn data-anolis-xref="dom-a-hreflang" id="dom-a-hreflang"><code>hreflang</code></dfn>, and <dfn data-anolis-xref="dom-a-type" id="dom-a-type"><code>type</code></dfn>, must <a href="infrastructure.html#reflect">reflect</a> the respective content
attributes of the same name.</p>
<p>The IDL attribute <dfn data-anolis-xref="dom-a-rellist" id="dom-a-rellist"><code>relList</code></dfn> must
<a href="infrastructure.html#reflect">reflect</a> the <code data-anolis-xref="attr-hyperlink-rel"><a href="links.html#attr-hyperlink-rel">rel</a></code> content attribute.</p>
<p>The <dfn data-anolis-xref="dom-a-text" id="dom-a-text"><code>text</code></dfn> IDL attribute, on getting, must return the
same value as the <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute on the element, and on setting, must act
as if the <code><a href="infrastructure.html#textcontent">textContent</a></code> IDL attribute on the element had been set to the new value.</p>
<hr><!-- concept-uu --><p>The <code><a href="#the-a-element">a</a></code> element also supports the <code><a href="infrastructure.html#urlutils">URLUtils</a></code> interface. <a href="references.html#refsURL">[URL]</a></p>
<p>When the element is created, and whenever the element's <code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> content attribute is set, changed, or removed, the user
agent must invoke the element's <code><a href="infrastructure.html#urlutils">URLUtils</a></code> interface's <a data-anolis-xref="concept-uu-set-the-input" href="infrastructure.html#concept-uu-set-the-input">set the input</a> algorithm with the value of the <code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> content attribute, if any, or the empty string otherwise,
as the given value.</p>
<p>The element's <code><a href="infrastructure.html#urlutils">URLUtils</a></code> interface's <a data-anolis-xref="concept-uu-get-the-base" href="infrastructure.html#concept-uu-get-the-base">get the
base</a> algorithm must simply return <a href="infrastructure.html#the-element's-base-url">the element's base URL</a>.</p>
<p>The element's <code><a href="infrastructure.html#urlutils">URLUtils</a></code> interface's <a data-anolis-xref="concept-uu-query-encoding" href="infrastructure.html#concept-uu-query-encoding">query
encoding</a> is the <a href="infrastructure.html#document's-character-encoding">document's character encoding</a>.</p>
<p>When the element's <code><a href="infrastructure.html#urlutils">URLUtils</a></code> interface invokes its <a data-anolis-xref="concept-uu-update" href="infrastructure.html#concept-uu-update">update steps</a> with a string <var data-anolis-xref="">value</var>, the user
agent must set the element's <code data-anolis-xref="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> content attribute to
the string <var data-anolis-xref="">value</var>.</p>
</div><!--TOPIC:HTML-->
<div class="example">
<p><code><a href="#the-a-element">a</a></code>要素は、全体のセクションであっても、インタラクティブコンテンツ内(たとえばボタンや他のリンク)に存在しない限り、全体の段落、リスト、テーブルなどの周りを包んでもよい。この例は、これがリンクに全体の広告ブロックを作るために使用できる様子を示す:</p>
<pre><aside class="advertising">
<h1>Advertising</h1>
<a href="http://ad.example.com/?adid=1929&amp;pubid=1422">
<section>
<h1>Mellblomatic 9000!</h1>
<p>Turn all your widgets into mellbloms!</p>
<p>Only $9.99 plus shipping and handling.</p>
</section>
</a>
<a href="http://ad.example.com/?adid=375&amp;pubid=1422">
<section>
<h1>The Mellblom Browser</h1>
<p>Web browsing at the speed of light.</p>
<p>No other browser goes faster!</p>
</section>
</a>
</aside></pre>
</div>
<h4 id="the-em-element"><span class="secno">4.5.2</span> <dfn><code>em</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="dom.html#htmlelement">HTMLElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-em-element">em</a></code>要素は、その内容の強調を<a href="dom.html#represents">表す</a>。</p>
<p>コンテンツの特定部分が持つ強調のレベルは、祖先の<code><a href="#the-em-element">em</a></code>要素の数によって与えられる。</p>
<p>強調の設置は、文の意味を変更する。このように要素は、コンテンツの不可欠な部位を形成する。強調が使用される正確な方法は、言語によって異なる。</p>
<div class="example">
<p>以下の例は、強調を変更することで意味がどのように変化するかを示す。まず、強調のない、事実である一般文:</p>
<pre><p>Cats are cute animals.</p></pre>
<p>最初の単語を強調することによって、発言は、議論される動物の種類(おそらく誰かが犬はかわいいと主張している)が問題であることを意味する:</p>
<pre><p><em>Cats</em> are cute animals.</p></pre>
<p>動詞に強調を移動することで、文全体の真偽が問題である(おそらく誰かが猫はかわいくないと言っている)ことを強調する:</p>
<pre><p>Cats <em>are</em> cute animals.</p></pre>
<p>形容詞に移動することで、猫の的確な性質を断言する(おそらく誰かが猫は<em>平均な</em>動物だとほのめかした):</p>
<pre><p>Cats are <em>cute</em> animals.</p></pre>
<p>同様に、誰かが猫は野菜であったと主張した場合も、誰かが最後の単語を強調することでこれを修正する:</p>
<pre><p>Cats are cute <em>animals</em>.</p></pre>
<p>文全体を強調することによって、話者が言いたいことを伝えるために懸命に戦っていることが明らかになる。この種の強調はまた、ここでは感嘆符に、典型的には句読点に影響を与える。</p>
<pre><p><em>Cats are cute animals!</em></p></pre>
<p>かわいらしさを強調するともに怒りが、次のようなマークアップにつながるかもしれない:</p>
<pre><p><em>Cats are <em>cute</em> animals!</em></p></pre>
</div>
<div class="note">
<p><code><a href="#the-em-element">em</a></code>要素は、包括的な"イタリック"要素ではない。時として、あたかも異なる気分や声であったかのように、テキストが残りの段落から目立つことを意図する。このためには、<code><a href="#the-i-element">i</a></code>要素がより適切である。</p>
<p><code><a href="#the-em-element">em</a></code>要素はまた、重要性を伝えることを意図しない。そのためには、<code><a href="#the-strong-element">strong</a></code>要素がより適切である。</p><!--
Thus the following is a bad use of <em>:
<p><em>Note</em>: ...</p>
You should use <strong> or <i> for this instead (depending on
exactly what you're doing).
-->
</div>
<h4 id="the-strong-element"><span class="secno">4.5.3</span> <dfn><code>strong</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="dom.html#htmlelement">HTMLElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-strong-element">strong</a></code>要素は、そのコンテンツに対する強力な重要性、深刻性、または緊急性を<a href="dom.html#represents">表す</a>。 </p>
<p><strong>重要性</strong>:<code><a href="#the-strong-element">strong</a></code>要素は、より詳細な、より陽気な、または単に常用文かもしれない部分から本当に重要である部分を区別するために、見出し、キャプション、または段落で使用できる。 <!--FORK remove hgroup reference see bug 24127 --></p>
<p class="example">たとえば、1つ前の段落の最初の単語は、残りの段落においてより詳細なテキストと区別するために、<code><a href="#the-strong-element">strong</a></code>とともにマークアップされる。</p>
<p><strong>深刻性</strong>:<code><a href="#the-strong-element">strong</a></code>要素は警告または注意の通知をマークアップするために使用できる。</p>
<p><strong>緊急性</strong>:<code><a href="#the-strong-element">strong</a></code>要素は、ユーザーが文書の他の部分よりも早く確認する必要があるコンテンツを示すために使用できる。</p>
<p>コンテンツの一部の相対的な重要性のレベルは、祖先<code><a href="#the-strong-element">strong</a></code>要素の数によって与えられる。各<code><a href="#the-strong-element">strong</a></code>要素が、その内容の重要性を増大する。</p>
<p><code><a href="#the-strong-element">strong</a></code>要素を持つテキストの一部の重要性を変更は、文の意味を変更しない。</p>
<div class="example">
<p>ここでは、単語"chapter"および実際の章番号は、単なる定型文であり、かつ章の実際の名前は、<code><a href="#the-strong-element">strong</a></code>でマークアップされている:</p>
<pre><h1>Chapter 1: <strong>The Praxis</strong></h1></pre>
<p>次の例において、キャプションにおける図の名前は、定型句(前)と描写(後)とを区別するために、<code><a href="#the-strong-element">strong</a></code>でマークアップされている:</p>
<pre><figcaption>Figure 1. <strong>Ant colony dynamics</strong>. The ants in this colony are
affected by the heat source (upper left) and the food source (lower right).</figcaption></pre>
<p>次の例において、実際の見出しは"Flowers, Bees, and Honey"であるが、著者は見出しに陽気な付け足しを追加している。したがって、<code><a href="#the-strong-element">strong</a></code>要素は、後半から見出しを区別しようとして前半をマークアップするために使用される。</p>
<pre><h1><strong>Flowers, Bees, and Honey</strong> and other things I don't understand</h1></pre>
</div>
<div class="example">
<p>これは、どの程度重要であるかによってマークアップした様々な部分をもつ、ゲーム内の警告通知の例である:</p><!-- DO NOT REFLOW THIS EXAMPLE it has been carefully balanced -->
<pre><p><strong>Warning.</strong> This dungeon is dangerous.
<strong>Avoid the ducks.</strong> Take any gold you find.
<strong><strong>Do not take any of the diamonds</strong>,
they are explosive and <strong>will destroy anything within
ten meters.</strong></strong> You have been warned.</p></pre>
</div>
<div class="example">
<p>この例において、<code><a href="#the-strong-element">strong</a></code>要素は、ユーザーが最初に読むことを意図するテキストの一部を示すために使用される。</p>
<pre><p>Welcome to Remy, the reminder system.</p>
<p>Your tasks for today:</p>
<ul>
<li><p><strong>Turn off the oven.</strong></p></li>
<li><p>Put out the trash.</p></li>
<li><p>Do the laundry.</p></li>
</ul></pre>
</div>
<h4 id="the-small-element"><span class="secno">4.5.4</span> <dfn><code>small</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="dom.html#htmlelement">HTMLElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-small-element">small</a></code>要素は、小さな活字体などの副次的なコメントを<a href="dom.html#represents">表す</a>。</p>
<p class="note">小さな活字体は通常、免責事項、警告、法的制約、または著作権を取り上げる。小さな活字体はまた、時として帰属に対して、またはライセンス要件を満たすために使用される。</p>
<p class="note"><code><a href="#the-small-element">small</a></code>要素は、"非強調"、または<code><a href="#the-em-element">em</a></code>要素によって強調されたテキストの重要性を低くする、<code><a href="#the-strong-element">strong</a></code>要素を持つ重要としてマークされるものでない。強調または重要ではないものとしてテキストをマークするには、単にそれぞれ<code><a href="#the-em-element">em</a></code>または<code><a href="#the-strong-element">strong</a></code>要素を使ってマークアップしない。</p>
<p><code><a href="#the-small-element">small</a></code>要素は、複数の段落、リスト、またはテキストのセクションのような幅のあるテキストの長さに使用すべきでない。この要素は、短いテキストのみを対象とする。たとえば、利用規約を記載するページのテキストは、<code><a href="#the-small-element">small</a></code>要素に適した候補ではない。このような場合、テキストは副次的なコメントではなく、ページの主要コンテンツである。</p><!--START/END FORK --><!-- (removed comment about hgroup)-->
<div class="example">
<p>この例において、<code><a href="#the-small-element">small</a></code>要素は、付加価値税がホテルの部屋の料金に含まれないことを示すために使用される:</p>
<pre class="example"><dl>
<dt>Single room
<dd>199 € <small>breakfast included, VAT not included</small>
<dt>Double room
<dd>239 € <small>breakfast included, VAT not included</small>
</dl></pre>
</div>
<div class="example">
<p>この2番目の例において、<code><a href="#the-small-element">small</a></code>要素は記事で付随するコメントに対して使用される。</p>
<pre><p>Example Corp today announced record profits for the
second quarter <small>(Full Disclosure: Foo News is a subsidiary of
Example Corp)</small>, leading to speculation about a third quarter
merger with Demo Group.</p></pre>
<p>次は、長く複数の段落かもしれず、かつ主要なテキストフローから削除される、サイドバーとは別個のものである。次の例において、同じ記事由来のサイドバーが見られる。このサイドバーはまた、サイドバーの中に情報のソースを示す、小さな活字体を持つ。</p>
<pre><aside>
<h1>Example Corp</h1>
<p>This company mostly creates small software and Web
sites.</p>
<p>The Example Corp company mission is "To provide entertainment
and news on a sample basis".</p>
<p><small>Information obtained from <a
href="http://example.com/about.html">example.com</a> home
page.</small></p>
</aside></pre>
</div>
<p>この最後の例において、<code><a href="#the-small-element">small</a></code>要素は、<em>重要な</em>小さな活字体であるものとしてマークされる。</p>
<pre><p><strong><small>Continued use of this service will result in a kiss.</small></strong></p></pre>
<h4 id="the-s-element"><span class="secno">4.5.5</span> <dfn><code>s</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dt><span data-anolis-xref="concept-element-tag-omission">text/htmlにおけるタグ省略</span></dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="dom.html#htmlelement">HTMLElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-s-element">s</a></code>要素は正確ではないか、もはや関連しないコンテンツを<a href="dom.html#represents">表す</a>。</p>
<p class="note">文書の編集を示す場合、<code><a href="#the-s-element">s</a></code>要素は適切ではない。文書から削除されているものとしてテキスト範囲をマークするためには、<code><a href="edits.html#the-del-element">del</a></code>要素を使用する。</p>
<div class="example">
<p>この例において、新たな販売価格を持つ問題の製品がもはや関連しないものとして、推奨小売価格がマークされている。</p>
<pre><p>Buy our Iced Tea and Lemonade!</p>
<p><s>Recommended retail price: $3.99 per bottle</s></p>
<p><strong>Now selling for just $2.99 a bottle!</strong></p></pre>
</div>
<h4 id="the-cite-element"><span class="secno">4.5.6</span> <dfn><code>cite</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="dom.html#htmlelement">HTMLElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-cite-element">cite</a></code>要素は、創造的な作品への参照を<a href="dom.html#represents">表す</a>。要素は、作品のタイトルや著者の名前(個人や組織)、またはURL参照を含めなければならない。これは、引用メタデータの付加のために使用される規則に従い省略されてもよい。</p>
<p class="note">創造的な作品は、本、新聞、エッセイ、詩、楽譜、歌、脚本、映画、テレビ番組、ゲーム、彫刻、絵画、映画、演劇、オペラ、ミュージカル、展示、訴訟事例報告などを含む。</p>
<div class="example">
<p><code><a href="#the-cite-element">cite</a></code>要素を使用して参照引用の著者の例は次のとおり:</p>
<pre>
<p>In the words of <cite>Charles Bukowski</cite> -
<q>An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way.</q></p>
</pre>
</div>
<div class="example">
<p>2つ目の例は、<code><a href="#the-cite-element">cite</a></code>要素を使用して作家名を参照することにより、ツイートの著者を識別する:</p>
<pre>
<blockquote class="twitter-tweet">
<p>♥ Bukowski in <a href="https://twitter.com/search?q=%23HTML5&src=hash">#HTML5</a> spec examples
<a href="http://t.co/0FIEiYN1pC">http://t.co/0FIEiYN1pC</a></p><mark><cite>— karl dubost (@karlpro)
<a href="https://twitter.com/karlpro/statuses/370905307293442048">August 23, 2013</a></cite></mark>
</blockquote>
</pre>
</div>
<div class="example">
<p>この例において、<code><a href="#the-cite-element">cite</a></code>要素は参考文献の作品のタイトルを参照するために使用される:</p>
<pre><p><cite>Universal Declaration of Human Rights</cite>, United Nations,
December 1948. Adopted by General Assembly resolution 217 A (III).</p></pre>
</div>
<div class="example">
<p>この例において、<code><a href="#the-cite-element">cite</a></code>要素はテレビ番組のタイトルを参照するために使用される:</p>
<pre><p>Who is your favorite doctor (in <cite>Doctor Who</cite>)?</p></pre>
</div><!-- code example (elided) from http://www.brucelawson.co.uk/2013/on-citing-quotations-again/ -->
<div class="example">
<p><code><a href="#the-cite-element">cite</a></code>要素に対する非常に一般的な用途は、この例のように、ブログの記事やフォーラムでのコメントの著者を識別することである:</p>
<pre> <article id="comment-1">
Comment by <cite><a href="http://oli.jp">Oli Studholme</a></cite>
<time datetime="2013-08-19T16:01">August 19th, 2013 at 4:01 pm</time>
<p>Unfortunately I don't think adding names back into the definition of <code>cite</code>
solves the problem: of the 12 blockquote examples in
<a href="http://oli.jp/example/blockquote-metadata/">Examples of block quote metadata</a>,
there's not even one that's <em>just</em> a person’s name.</p>
<p>A subset of the problem, maybe…</p>
</article></pre>
</div><!-- code example (elided) from https://www.google.co.uk/search?q=html+working+group+&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&gws_rd=cr&ei=EFUwUrXoOoGL7AakrYGwBg -->
<div class="example">
<p><code><a href="#the-cite-element">cite</a></code>要素に対するもう1つの一般的な用途は、以下の例のように、検索結果の<code>URL</code>を参照することである。</p>
<pre> <div id="resultStats">About 416,000,000 results 0.33 seconds) </div>
...
<p><a href="http://www.w3.org/html/wg/">W3C <i>HTML Working Group</i></a></p>
<p><mark><cite>www.w3.org/<b>html</b>/wg/</cite></mark></p>
<p>15 Apr 2013 - The <i>HTML Working Group</i> is currently chartered to continue its
work through 31 December 2014. A Plan 2014 document published by the...</p>
...
</pre>
</div>
<p class="note"><em>引用</em>は、<em>引用文</em>ではない(<code><a href="#the-q-element">q</a></code>要素が適切である)。</p>
<div class="example">
<p><code><a href="#the-cite-element">cite</a></code>は引用文のためのものでないので、これは間違った使い方である:</p>
<pre class="bad"><p><cite>This is wrong!, said Hillary.</cite> is a quote from the
popular daytime TV drama When Ian became Hillary.</p></pre>
<p>これは正しい使い方の例である:</p>
<pre><p><q>This is correct, said Hillary.</q> is a quote from the
popular daytime TV drama <cite>When Ian became Hillary</cite>.</p></pre>
</div>
<h4 id="the-q-element"><span class="secno">4.5.7</span> <dfn><code>q</code></dfn>要素</h4>
<dl class="element"><dt><a data-anolis-xref="element-dfn-categories" href="dom.html#element-dfn-categories">カテゴリ</a>:</dt>
<dd><a href="dom.html#flow-content-1">フローコンテンツ</a>。</dd>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dd><a href="dom.html#palpable-content-0">パルパブルコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-contexts" href="dom.html#element-dfn-contexts">この要素を使用できるコンテキスト</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>が期待される場所。</dd>
<dt><a data-anolis-xref="element-dfn-content-model" href="dom.html#element-dfn-content-model">コンテンツモデル</a>:</dt>
<dd><a href="dom.html#phrasing-content-1">フレージングコンテンツ</a>。</dd>
<dt><a data-anolis-xref="element-dfn-attributes" href="dom.html#element-dfn-attributes">コンテンツ属性</a>:</dt>
<dd><a href="dom.html#global-attributes">グローバル属性</a></dd>
<dd><code data-anolis-xref="attr-q-cite"><a href="#attr-q-cite">cite</a></code> - 編集に関する引用またはより多くの情報源へのリンク</dd>
<dt><a data-anolis-xref="element-dfn-tag-omission" href="dom.html#element-dfn-tag-omission">text/htmlにおけるタグ省略</a>:</dt>
<dd>どちらのタグも省略不可</dd>
<dt>許可される<a href="dom.html#aria-role-attribute">ARIAロール属性</a>値:</dt>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">任意のrole値</a>。</dd>
<dt>許可される<a href="dom.html#state-and-property-attributes">ARIAステートおよびプロパティー</a>:</dt>
<dd><a href="dom.html#index-aria-global">グローバルaria-* 属性</a></dd>
<dd><a href="dom.html#allowed-aria-roles,-states-and-properties">許可されるロールで受け入れ可能な</a>任意の<code title="">aria-*</code>属性。</dd>
<dt><a data-anolis-xref="element-dfn-dom" href="dom.html#element-dfn-dom">DOMインターフェース</a>:</dt><!--TOPIC:DOM APIs-->
<dd><code><a href="grouping-content.html#htmlquoteelement">HTMLQuoteElement</a></code>を使用する。</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-q-element">q</a></code>要素は、別のソースから引用された<a data-anolis-xref="phrasing content" href="dom.html#phrasing-content-1">フレージングコンテンツ</a>を<a href="dom.html#represents">表す</a>。</p>
<p>要素のコンテンツを引用している引用句読点(たとえば引用符など)は、直前、直後、または<code><a href="#the-q-element">q</a></code>要素の内部に現れてはならない。これらは、ユーザーエージェントによってレンダリング時に挿入される。</p>
<p><code><a href="#the-q-element">q</a></code>の要素内のコンテンツは、別のソースから引用されなければならず、そのアドレスがある場合は、<dfn data-anolis-xref="attr-q-cite" id="attr-q-cite"><code>cite</code></dfn>属性に引用してもよい。ソースは小説や脚本中の文字を引用するときのように、架空のものであってよい。</p>
<p><code data-anolis-xref="attr-q-cite"><a href="#attr-q-cite">cite</a></code>属性が存在する場合、<a href="infrastructure.html#valid-url-potentially-surrounded-by-spaces">潜在的にスペースで囲まれた妥当なURL</a>でなければならない。 <span class="impl">To obtain the corresponding citation
link, the value of the attribute must be <a data-anolis-xref="resolve a url" href="infrastructure.html#resolve-a-url">resolved</a> relative to
the element.</span> ユーザーエージェントは、ユーザーがそのような引用のリンクをたどることを可能にしてもよいが、これは主に読者のためでなく、(たとえば引用のサイトの使用に関する統計を収集するサーバーサイドスクリプトによってなど)私的使用のために意図される。</p>
<p><code><a href="#the-q-element">q</a></code>要素は、引用文を表さない引用符の代わりに使用してはならない。たとえば、風刺文をマークアップするために<code><a href="#the-q-element">q</a></code>要素を使用するのは不適切である。</p>
<p>引用文をマークアップするための<code><a href="#the-q-element">q</a></code>要素の使用は完全に任意である。<code><a href="#the-q-element">q</a></code>要素なしで明示的に引用句読点を使用は同様に正しい。</p>
<div class="example">
<p>ここで、<code><a href="#the-q-element">q</a></code>要素の用法の簡単な例を示す:</p>
<pre><p>The man said <q>Things that are impossible just take
longer</q>. I disagreed with him.</p></pre>
</div>
<div class="example">
<p>これは、<code><a href="#the-q-element">q</a></code>要素で明示的な引用リンクと、外部への明示的な引用の両方を持つ例である:</p>
<pre><p>The W3C page <cite>About W3C</cite> says the W3C's
mission is <q cite="http://www.w3.org/Consortium/">To lead the
World Wide Web to its full potential by developing protocols and
guidelines that ensure long-term growth for the Web</q>. I
disagree with this mission.</p></pre>
</div>
<div class="example">
<p>次の例は、引用文自身が引用文を含む:</p>
<pre><p>In <cite>Example One</cite>, he writes <q>The man
said <q>Things that are impossible just take longer</q>. I
disagreed with him</q>. Well, I disagree even more!</p></pre>
</div>
<div class="example">
<p>次の例において、引用符は<code><a href="#the-q-element">q</a></code>要素の代わりに使用される:</p>
<pre><p>His best argument was ❝I disagree❞, which