HTML TUTORIAL: The HTML Head Tag


In this tutorial we're going to talk about the HTML head tag also called the head element.

The head element contains general information, also called meta- information, about a document.

According to the HTML standard, only a few tags are legal inside the head section. These are: <base>, <link>, <meta>, <title>, <style>, and <script>. Below is a sample of some common tags that can be found inside the head tag.

Below is a sample of what it should look like:

<html>

<head>
<title>Rick's Home Page</title>
<base target="_blank">
<link rel="stylesheet" type="text/css" href="theme.css">
<meta name="description" content="Rick's Home Page">
<meta name="Keywords" content="web design, html">
</head>

<body>

</body

</html>

For now we will leave out the SCRIPT and STYLE tags and cover them in greater details in other tutorials and videos.

Additional Resources for the HTML Head Tag

  • W3C.org - The Official Reference for HTML Standards

Video Tutorial

The video tutorial below will explain in greater detail some of the more important information about the HTML <HEAD> tag.

Comments

There have been no comments made on this article. Why not be the first and add your own comment using the form below.

Leave a comment

Commenting is restricted to registered users only. Please register or login now to submit a comment.