0
Thanks

A few words of thanks would be greatly appreciated.

SEO - The Header section



Placed before all things, it is the first line of code of any html page. Neglecting the doctype, will prevent proper indexing and sometimes affect the readability of pages.

In summary, this is the "Document Type Definition". An indication of the computer language in which a page is coded, to allow web browsers to correctly interpret the code and provide proper rendering.
Example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	   "http://www.w3.org/TR/html4/strict.dtd">


Indicates that: the HTML language (set by the W3C) is used in the DTD (DocTypeDefinition), it is version 4.0 of the language and the tags are shown in English (EN for English) and for now they only exist in this language ....
The head tags can normally provide a description of your site through keywords and phrases that describe your site. It has other features, like the automatic redirection to a URL...etc

The main tags found in the header includes the meta tags and link tags.
  • Syntax: <meta name="keywords" content="keywords">
  • Maximum number of characters: 1000
  • Compatibility: All search engines.
  • Separate each word or phrase with a comma. You should also know that only the first 200-300 characters will are useful. (Other options: fr for French, en for English, en-us for American, ..etc)
  • Example: <meta name="keywords" lang="en" content="html, javascript, xml">
  • Syntax: <meta name="Description" content="Description of website and/or of page...">
  • Maximum number of characters: 200
  • Compatibility: All search engines, however avoid accents.
  • Syntax: <meta http-equiv="content-language" content="en" />
  • Compatibility: All search engines.
  • Note that; If the site is 'multilingual': <meta http-equiv="Content-Language" content="fr, en" />
  • Syntax: <meta name="category" content="name">
  • Maximum number of characters: no limitation.
  • Compatibility: Some search engines.
  • Example <meta name="category" content="internet">
  • Syntax: <meta name="author" lang="en" content="Name">
  • Maximum number of characters: no limitation
  • Compatibility: All search engines.
  • You can add several authors (separated by commas).
  • Syntax:<meta name="robots" content=".....">
    • The dotted lines must be replaced by "index" or "noindex" (to allow or not the indexation of pages pages) and "follow" or "nofollow".
    • Instead of using "index, follow" use "all"
    • "noindex, nofollow" can be replaced with "none".
  • Compatibility: All search engine.
  • Exclude all protected or sensitive directories using a .htacess file.
  • Syntax: <meta name="identify-url" content="url of page">
  • Maximum number of characters: No limitations
  • Compatibility: All search engine.
  • Put a single URL.
  • Syntax: <meta name="generator" content="software">
  • Maximum number of characters: No limitations
  • Compatibility: Some search engine.
  • Syntax: <meta name="reply-to" content="your@email">
  • Maximum number of characters: No limitations
  • Compatibility: All search engine. Beware of spams!!
  • Syntax: <title>Title of the site</title>
  • Maximum number of characters: 100
  • Compatibility: All search engine.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « SEO - The Header section », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

0 Comments