HTML 元素和有效 DOCTYPES
HTML 元素 - 有效 DOCTYPES
下面的表格列出了所有的 HTML5/HTML 4.01/XHTML 元素,以及它们会出现在什么文档类型 (!DOCTYPE) 中:
HTML 4.01 / XHTML 1.0 | |||||
---|---|---|---|---|---|
Tag | HTML5 | Transitional | Strict | Frameset | XHTML 1.1 |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
No | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
No | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | No | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
No | Yes | No | Yes | No | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | No | |
No | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
|
Yes | Yes | Yes | Yes | Yes |
No | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
|
Yes | Yes | Yes | Yes | Yes |
|
Yes | Yes | Yes | Yes | No |
|
Yes | Yes | Yes | Yes | No |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | No | |
|
Yes | No | No | No | No |
Yes | Yes | Yes | Yes | Yes | |
No | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
|
Yes | Yes | Yes | Yes | Yes |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
No | Yes | No | Yes | No | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
No | No | No | Yes | No | |
No | No | No | Yes | No | |
to | Yes | Yes | Yes | Yes | Yes |
Yes | Yes | Yes | Yes | Yes | |
|
Yes | No | No | No | No |
Yes | No | No | No | No | |
|
Yes | Yes | Yes | Yes | Yes |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | No | |
Yes | No | No | No | No | |
Yes | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
No | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
|
Yes | Yes | Yes | Yes | Yes |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
Yes | No | No | No | No | |
Yes | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | No | No | No | No | |
Yes | Yes | Yes | Yes | Yes | |
No | Yes | No | Yes | No | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
Yes | Yes | Yes | Yes | Yes | |
|
Yes | No | No | No | No |
Yes | Yes | Yes | Yes | Yes | |
commentform.submit(function(e){
|
点我分享笔记