【发布时间】:2014-09-20 04:02:43
【问题描述】:
我是 HTML5 标记的新手。
我想知道是否允许我在页脚中有一个部分标记,如下所示。
<article>
<header class="content__header">
</header>
<section class="content__body">
</section>
<footer class="content__footer>
<section class="relatedArticles">
</section>
<section class="pagination">
</section>
</footer>
</article>
w3c 文档没有过多解释页脚标签的使用。
谢谢!!
【问题讨论】:
-
简单地说,是的。完全有效的 HTML5。
-
根据rfc 部分是有效的,其中flow content 是预期的。所以它是完全有效的。
-
“w3c 文档没有对页脚标签的使用做出太多解释。”你确定吗?我看到很多例子here。
标签: html