回答編集履歴

1

内容を追記

2015/11/03 16:50

投稿

dojikko
dojikko

スコア3939

test CHANGED
@@ -1,6 +1,50 @@
1
1
  [4.4.11 Headings and sections](http://www.w3.org/TR/2011/WD-html5-author-20110705/headings-and-sections.html)
2
2
 
3
3
  を見てみると
4
+
5
+
6
+
7
+ > This third example is also semantically identical, and might be easier to maintain (e.g. if sections are often moved around in editing):
8
+
9
+ ```html
10
+
11
+ <body>
12
+
13
+ <h1>Apples</h1>
14
+
15
+ <p>Apples are fruit.</p>
16
+
17
+ <section>
18
+
19
+ <h1>Taste</h1>
20
+
21
+ <p>They taste lovely.</p>
22
+
23
+ <section>
24
+
25
+ <h1>Sweet</h1>
26
+
27
+ <p>Red apples are sweeter than green ones.</p>
28
+
29
+ </section>
30
+
31
+ </section>
32
+
33
+ <section>
34
+
35
+ <h1>Color</h1>
36
+
37
+ <p>Apples come in various colors.</p>
38
+
39
+ </section>
40
+
41
+ </body>
42
+
43
+ ```
44
+
45
+ が質問例のまんまですね
46
+
47
+
4
48
 
5
49
  > For example, the following is correct:
6
50