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> |
Try it yourself »
|
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
| class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in HTML 5.
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4000 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|