HTML5: multiple footers / headers in a section

I understand that you can have several headers and footers on a page, for example, for <article>and another site header / footer for <body>, but I have not found anywhere, stating that with several headers or footers in one section is valid.

<body>
<header class="header-group-1"></header>
<header class="header-group-2"></header>

<!-- other content -->

<footer class="footer-group-1></footer>
<footer class="footer-group-2></footer>
</body>
+3
source share
2 answers

Several headerelements are allowed , and each of them indicates "introductory content for its nearest section or sectional root element", i.e. nearest enclosed item, to the side, nav, section, blockquote, body, details, dialog, fieldset, figure or td element. So you can have, for example,

<body>
<header>body header</header>
...
<article>
  <header>article header</header>
  ...
</article>

, , header ( ) article. " " . , , header , header .

+4
-2

All Articles