HTML 5 <head> Tag
Example
A simple HTML document, with a title:
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html> |
View it » |
Definition and Usage
The head element is a container for all the head elements. Elements inside
<head> can include scripts, instruct the browser where to find style sheets,
provide meta information, and more.
The following tags can be added to the head section: <base>, <link>, <meta>,
<script>, <style>, and <title>.
Differences Between HTML 4.01 and HTML 5
The profile attribute is not supported in HTML 5
Tips and Notes
Always specify a title for the document!
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
|