我在哪里可以找到正确的HTML嵌套标准清单? [英] Where can I find a list of proper HTML nesting standards?
问题描述
我一直在抓取堆栈溢出和网络的其他部分,寻找适合所有HTML元素的嵌套标准,但搜索似乎是徒劳的。
这就是为什么我问,为什么有一个适当的嵌套标准的参考(例如你不能把< div>
标签放在里面a < p>
标记)?
href =http://www.w3.org/TR/1999/REC-html401-19991224/ =nofollow>语言定义
(提示:如果您向下滚动到底部,就会有元素和属性的索引)编辑:还有最新的草稿 /www.w3.org/html/wg/drafts/html/master/rel =nofollow> HTML5
I've been crawling Stack Overflow and the rest of the web, looking for proper nesting standards in regards to all HTML elements, but the search seems to be in vain.
Which is why I am asking, where is there a reference of the proper nesting standards (such as the fact that you can't put <div>
tags inside a <p>
tag)?
Try the language definition
(hint: there are indexen of elements and attributes if you scroll down to the bottom)
EDIT: there's also the latest draft of HTML5
这篇关于我在哪里可以找到正确的HTML嵌套标准清单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!