close
<html>
用來告訴browser這是HTML文件
是所有HTML元素的container容器
是HTML文件的root
xmlns屬性在XHTML是必須的, 但在HTML不是.
因為HTML內預設會有xmlns=http://www.w3.org/1999/xhtml
如果沒有include時會加到<html> tag
Browser Support
主流皆有support
支援Global Attributes
manifest : 定義文件cache訊息(離線流覽)
xmlns : 定義XML namespace屬性 ex: http://www.w3.org/1999/xhtml
Default CSS Settings
html {
display: block;
}
html:focus {
outline: none;
}
1. 官網http://www.w3schools.com/tags/tag_html.asp
2. 支援的Browser
3. 屬性
文章標籤
全站熱搜
留言列表