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:
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 URLtc
The main tags found in the header includes the meta tags and link tags.
Syntax:
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, tc)
Example:
Syntax:
Maximum number of characters: 200
Compatibility: All search engines, however avoid accents.
Syntax:
Compatibility: All search engines.
Note that; If the site is 'multilingual':
Syntax:
Maximum number of characters: no limitation.
Compatibility: Some search engines.
Example
Syntax:
Maximum number of characters: no limitation
Compatibility: All search engines.
You can add several authors (separated by commas).
Syntax: 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:
Maximum number of characters: No limitations
Compatibility: All search engine.
Put a single URL.
Syntax:
Maximum number of characters: No limitations
Compatibility: Some search engine.
Syntax:
Maximum number of characters: No limitations
Compatibility: All search engine. Beware of spams!!