我可以使用多个< aside>吗?第二边栏的标签? [英] Can I use multiple <aside> tags for a second sidebar?
本文介绍了我可以使用多个< aside>吗?第二边栏的标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以在第二个侧边栏中使用多个< aside>
标签吗?
Can I use multiple <aside>
tags for second sidebar?
示例:
<header></header>
<nav><nav>
<aside>(FIRST)
<main>
<aside>(SECOND) [or <section>?]
<footer>
推荐答案
您可以.尝试将其粘贴到w3c验证器的直接输入"部分中以进行验证.您需要将其作为完整的有效HTML文档,例如如下所示:
You can. Try pasting it into the "direct input" part of the w3c validator for proof. You'll need it to be a full valid HTML document, e.g. something like below:
<!doctype html>
<html>
<head>
<title>Hello</title>
</head>
<body>
Hi
<aside>A1</aside>
<aside>A2</aside>
</body>
</html>
W3C验证程序: http://validator.w3.org/check
进一步阅读: W3C规范不适用和 MDN文档,两者均未指定最大数量的这种元素类型.
Further reading: the W3C spec for aside and the MDN documentation, neither of which specify a maximum number of this element type.
这篇关于我可以使用多个< aside>吗?第二边栏的标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文