关于具有多个标头标签的html:html5结构

html5 structure with multiple header tags

这个结构在语义上正确吗? 我在想这个结构在语义上是否正确。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
  <head></head>
  <body>
    <header></header>
    <section>
      <header>
       
      </header>
    </section>
    <section>
      <header>
       
      </header>
    </section>
  </body>
</html>


它在很大程度上取决于实际内容。

例如,具有这种结构的文档可以代表一本书。
第一个header可以包含有关书籍的元信息,例如名称,作者,目录等。
每个section都可以代表一章。
section中的header可以包括有关该章的元信息,例如名称,奉献等。

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
<!doctype html>

<html>
  <head>
    <meta charset="utf-8">
    My Awesome Book
  </head>
  <body>
    <header>
      My Awesome Book
      <nav>
        Table of Contents
       
<ul>

         
<li>

            Chapter 1
         
</li>

         
<li>

            Chapter 2
         
</li>

       
</ul>

      </nav>
    </header>
    <section id="chapter1">
      <header>
        Chapter 1
        <p>
This chapter is dedicated to voices in my head. Thank you for inspiration.
</p>
      </header>
      <p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quasi, velit!
</p>
    </section>
    <section id="chapter2">
      Chapter 2
      <p>
Asperiores corporis illum minus vel tempora non voluptate dolores itaque nam?
</p>
    </section>
  </body>
</html>