How To Create Tags

Table of contents:

How To Create Tags
How To Create Tags

Video: How To Create Tags

Video: How To Create Tags
Video: 18. Git for beginners. Tags in Git. How to use Git tags? 2024, May
Anonim

Tags are needed to optimize and promote the site. Pay special attention to their creation, because correctly written tags will help you promote your site faster and make money on it. The most important thing when writing tags is not to rush and how to figure out what tags actually are. It may take a long time, but it will be worth it. What are the tags? There are a lot of them, so let's talk about the most basic ones.

How to create tags
How to create tags

Instructions

Step 1

Main tags:

Meta title description of meta tags. This is a kind of title page, so try to include keywords and be informative. It is desirable to limit the length of the tag to 50-80 characters.

Meta description tag and keywords tag. The length of the first tag should not exceed 200 characters, and the second - 1000. This is necessary because search engines use exactly these values of characters. And if you have more of them than you should, then some of the symbols will not be counted. In the meta tag "description" insert the description of your page, because it will be displayed on search.

The meta name Author tag includes the author's name.

meta name copyright tag that indicates copyright.

meta Name Date indicates the date the site was created.

The meta http-equiv content-type tag is used to tell the browser to parse what language the text is written in.

Step 2

Decide how you will write the tags. They can be written in both lowercase and uppercase characters. Just keep the same spelling on the pages of the entire site.

Step 3

Configure the default tag settings. If you do not specify any parameter, the browser will substitute the default value. If your expectations were not met, indicate the necessary parameters yourself.

Step 4

Do not wrap tag parameters line by line. Purely theoretically, this, of course, can be done, but at the same time the perception of the code worsens and it becomes more difficult to edit it.

Step 5

Enclose tag parameters in quotation marks. Failure to supply quotes will result in errors.

Step 6

Check the correctness of the tag set. If it is incorrect, then the browser will ignore such a tag.

Step 7

Keep track of the tag hierarchy. The tag must have its own place. For example, meta tags can only be inside.

Step 8

Train yourself to close all tags, even those for which it is optional. This will help you create clear, working code.

Recommended: