Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Why is the HTML head important?

Sunday, February 10th, 2013 by Servage

Sometimes novice web developers are not implementing the proper tags in the HTML head. I see this as a problem because the head part is very important. While it does not contain any information immediately important to the display of the page (except the title), the head still contains information which is very important to the page as such, in terms of SEO and other functionality.

Example

This is a basic HTML document structure:

<html>
	<head>
		<!-- The Document Head -->
	</head>
	<body>
		<!-- The Document Body -->
	</body>
</html>

Title

The title is important – it is displayed at the top of the browser window.

<title>Document Title</title>

Meta & SEO

Meta tags like description and keywords are important for SEO.

<meta name="description" content="Document Description">

Other Resources

You can also use the head to include other resources, like scripts and stylesheets.

<link href="stylesheet.css" rel="stylesheet" type="text/css">

So, as you might have noticed, there are plenty of useful and important information to place in the head part of the HTML document. Please make sure you have the proper content there. The minimum is the title.

Why is the HTML head important?, 3.7 out of 5 based on 3 ratings
Categories: Tips & Tricks

Keywords:

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.