HTML - The head section

From Global Programming Syntax

Jump to: navigation, search

The HTML head section is generally surrounded by the <head></head> tags. This section is the header of the document which gives the page a name, tells search engines what the keywords are and even where some Javascript must be placed to be able to run. Each piece is explained in the below categories.

Adding a title into the head

<head>
<title>This is the page title</title>
</head>

A title is a simple and yet important part of every webpage. The title not only appears in the browsers title block (at the top) but it is used on every link in the search engines results. So when choosing a title, pick your words carefully as they will influence your search engine ranking for that page and with some search engines for your website too.

Personal tools
languages
page stats
Toolbox