HTML5 head标签
定义和用法
head 元素可包含关于文档的信息。浏览器不会向用户显示这些头部信息(”head information”)。下面这些标签可用在 head 部分:<base>, <link>, <meta>, <script>, <style>, 以及 <title>。
HTML 4.01 与 HTML 5 之间的差异
在 HTML 5 中不再支持 profile 属性。
提示和注释:
提示:请记住始终为文档规定标题!
例子
<html>
<head>
<title>文档的标题</title>
</head>
<body>
...
...
...
</body>
</html>
属性
标准属性
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title