1. Optimization of commonly used HTML tags
For html, it should be a basic skill for web editing, and it is unfamiliar with it. As a web editor, it is not necessary to master all SEO parameters, but it is necessary for everyone to understand the relevant SEO things in the basic HTML tags.
<html> <head> <title>Page Title</title> <meta http-equiv=Content-Language content=en-cn> <meta http-equiv=Content-Type content=text/html; charset=gb2312> <meta name=keywords content=keywords> <meta name=description content=web page description> <link href=inc/css.css _fcksavedurl=inc/css.css _fcksavedurl=inc/css.css type=text/css rel=stylesheet> </head> |
The above paragraph is the HEAD part of the web page, and the various tags here are crucial for search engines.
TITLE is always important for search engines, and no matter how their algorithms change, the importance of this tag will not be reduced. Therefore, this requires online editors to consider the users coming from search engines when writing articles or naming channels.
At present, Baidu can directly display 31-32 Chinese characters, that is, about 62 characters, while GOOGLE can display about 34 Chinese characters.
Therefore, when we write an article title or channel title, we must subtract the content displayed on TITLE automatically added by the program, as shown in the following figure, the words "News Center" Sina.com, so that the overall web page TITLE is controlled to the required number of words.
What needs to be explained here is whether you require the program to automatically add content to be displayed in the search results.
At this time, what needs to be considered is the authority of the website and the priority of content. If your website's articles are widely cited, then to avoid this problem, you must emphasize your authority:
Otherwise, because the title of the previous article is too long and the subsequent channel and website names cannot be displayed, it may cause the user to give up clicking and click other web pages that reprint this article and standardize TITLE.
As shown in the picture above, according to the habit of network names, if the user of the domain name of the first information does not recognize or does not pay attention to it, he will largely turn to the second one.
The text rights at the front in TITLE are more important than those at the back, so when writing TITLE, try to put important keywords in the front.
Keywords and description are also very important for search. A while ago, many domestic SEO friends believed that search engines gave up these two tags or reduced the scores of these two tags in web page sorting. Especially Baidu, before May 2009, almost all descriptions of most pages did not refer to the description of the page, but instead randomly crawled a piece of content from the page (which also reflects Baidu's confidence in its word segmentation algorithm). However, after May, Baidu gradually resumed crawling descriptions, and any description that matches the content of the web page will be crawled as the description of the page by Baidu. Of course, descriptions that have nothing to do with the content of the page will not be crawled.
There are no need for too many keywords in Keywords, just list all the keywords on the page. The keywords in this place are also a reference for search engines to share.
Description is a short brief introduction that is directly presented to users in search engines. The number of words should be controlled between 70-90, and the keywords on the page should appear 2-3 times.
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
The page encoding method must also be explained in the page. Of course, this should be a problem with the program. Charset uses gb2312 or UTF-8 encoding to tell search engines on the page.
<link href=inc/css.css _fcksavedurl=inc/css.css _fcksavedurl=inc/css.css type=text/css rel=stylesheet>
Online editors often create special topics, and a large number of styles need to be defined here. In order to prevent the page size from being too large, it makes it difficult for search engine spiders to crawl. Therefore, it is recommended that you put the styles into a unified CSS file and call them directly.
<body> part
In the Body section, the main tags that our editors should understand and master are:
<h1>Article Title</h1>
This tag occupies an important position in the page, and it can be said that H1 is another soul of web pages besides TITLE. What you need to pay attention to here is to use the soul with caution, otherwise it will be more costly to be punished. If it is a channel page, it is appropriate to use the H1 mark for the column name of the major category. Of course, only H1 can be used for the largest category. According to the category, H2, H3, H4... are used in sequence. If it is an article page, H1 should be used according to the optimization method of the article page, and the most common page layout is based on the article title and text content, and there is no other information of the same level as the text. In this way, the article title should be modified with H1, which can clearly tell the search engine that my article title is the core of the page, that is, the title here should also be written according to the user's search habits. The method is omitted here.
Alt tag <img src=1111.jpg alt=image description>
The ALT tags in web pages are used to illustrate images. There are two functions here: one is to assist in web search and the other is to facilitate image search.
In a web page, it is not wise to use alt for all pictures, but it is not appropriate to not use them at all. The best way is to use the ALT logo to identify the key images (mostly the largest images related to the topic) in the web page, which will help both web search and image search. In addition, to facilitate image search, it is also a way to describe the image near the image, but it is not alt.
Hyperchain TITLE tag <a href=/ title=link description>link text</a>
The purpose of the hyperlink title tag is to strengthen the modification of the referenced link. In many cases, due to the limitations of the content, it is not convenient for us to modify the link text directly, so it is a good way to remedy the title. Generally, this tag is used in the relevant content section.
<strong>Tag
This tag is used to modify important keywords in the page. This tag can be used to modify important content in the page, such as column names, classification names, important paragraphs, etc. Second only to H1.
<b>(Bolded)
<u>(Bottom line)
<i> (italics)
Similar to the above three marks are simple modifications to the font. Search engines treat these marks as a modifier. (Some SEOERs also equate strong and b, but Tianren still emphasizes that strong emphasizes more effect)
That’s all for Html’s commonly used tags. If you memorize these tags on your web editor, you should be able to deal with them.