How to write meta tags
- Meta tag Title
- Meta KeyWords tag
- Meta tag Description
- Meta tag Content-type
- Meta tag Content-language
- Meta Refresh tag
- Meta tag Robots
- Meta tag Author and Copyright
In this article we will learn how to write meta tags when creating your site. The main meta tags of the site are in the title of the page, they are not visible to the user (except for the Title tag), that is, these are meta tags for search engines Yandex and Google. Proper optimization of meta tags directly affects the successful promotion of your site in search engines.
Meta tag Title
How to fill the title tag meta? As I already mentioned, this meta tag is visible not only to search engines, but also to users. In search results, this is the first information about your resource that people see, and it depends on the content of the Title tag whether the user will click on your link or not:
.
Meta tag Title example
.
In order to optimize the Title meta tag for search engines, it should include keywords or phrases. Sometimes a well-chosen meta tag Title gives 50% SEO site optimization. The length of this meta tag usually does not exceed 60 characters: search robots, as a rule, do not see more. How to fill the Title tag correctly:
.
How to fill meta title tag, example
Meta KeyWords tag
Keywords (key phrases) that include the KeyWords meta tag must comply with two rules:
- Keywords are contained in your text, ideally should be repeated several times each. Better - at the beginning of the text. More about this in the headings SEO and Copywriting .
- These words are not invented by you, but are taken from a database of search engines. The Yandex wordstat.yandex.ru service is a good keyword selection tool for the KeyWords meta tag. When choosing, preference is given to mid-frequency and low-frequency keywords.
Keywords are entered in the KeyWords meta tag, separated by commas, in the singular. This meta tag is secondary, search engines do not really focus on it. However, when filling in the KeyWords meta tag, you once again perform SEO optimization of your content, filling it with keywords.
.
Meta tag keywords example
Meta tag Description
The importance of the meta tag Description (description) is comparable to the importance of the meta tag Title. This text (description) is under the title (Title) in the search results.
.
Meta Description tag, example
.
Here you must also fulfill a couple of conditions:
- The content of the Description meta tag should attract the user - he must choose your snippet (description). But if the content of the description does not match the content of your site, the time spent on the site will be scanty and search engines will regard your site as useless.
- Meta tag Description should be saturated with keywords, literally consist of them. But if the content does not correspond to the main content, the search robots themselves determine what to fill in the snippet, scoring it with fragments of phrases from the main text.
.
Meta tag Description, example
Next, I will describe the so-called HTTP equivalents, or technical meta tags.
Meta tag Content-type
Content-type is the type and encoding of the text. The fact is that any browser needs to know its encoding to display a document. Usually, browsers determine the text encoding themselves, but for greater fidelity, it is better to specify it.
Text encoding for OS Windows, HTML, Cyrillic: windows-1251 .
.
Cyrillic Windows 1251 Encoding Example
.
Meta tag Content-language
Content-language - the name of the meta tag speaks for itself. This is the language in which the document is written.
.
Content language, example
Meta Refresh tag
Meta Refresh tag - the duration of time, in how many seconds some action will occur (switching to another page or simply reloading the document). Example with reboot after 30 seconds:
.
Meta refresh tag with reboot, example
.
An example of switching to another HTML page freelance.ru.net in 5 seconds:
.
Meta Refresh tag with transition, example
Meta tag Robots
Meta tag Robots is responsible for setting up a site for search robots - which pages are indexed and which are not. You can also comment out (hide from indexing) individual links.
.
Meta tag Robots example
Meta tag Author and Copyright
Meta tags Author and Copyrigh t are responsible for copyright and indicate the author of the text on this page:
.
Meta tag Author and Copyright example
.
The above meta tags are basic, besides them there are many others, and it’s not at all necessary to clutter the page title with unnecessary meta tags - search robots may not like it. How to select keywords for them can be found in the article. Meta tags .