Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the html tags of the optimized website?

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

The main content of this article is to explain "what are the html tags for optimizing the website". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what are the html tags for optimizing the website?"

1. TDK tags of commonly used tags for website SEO optimization

TDK is a familiar and unfamiliar html tag for every seoer. TDK represents the three most common optimization tags of Title, Keywords and Description, respectively. Title page title, keywords page keywords, description page description. (strictly speaking, except for title, the other two are attributes of the mate tag.)

These three tags are so familiar that they are simply mentioned here without too much explanation.

two。 Heading tags of commonly used tags for website SEO optimization

Heading tag is often said that the H tag, it is the emphasis on the total part of the page, generally used in the title, subtitle, column name. Heading tags from H2 to h7 a total of 6 pairs, the degree of emphasis is decreasing, often use H2, h3, h4 these three heading tags, because the emphasis of h5, h6, h7 is so small that all can be ignored in the website optimization SEO basically not used.

The H2 tag is an emphasis on the most important part of the page and is generally used on the page title. It should be noted that only one pair of H2 tags can appear on the same page, and multiple H1 tags on the page will adversely affect seo.

H3, h4 and other heading tags can be used multiple times on the same page, generally in column names, article paragraph headings or subheadings.

Although heading tags have a positive impact on site optimization, but if misused will also bring adverse consequences, do not use heading tags in the entire paragraph of content.

3. The nofllow attribute of the tags commonly used in website excellent SEO

Yes! You read it correctly is the nofllow attribute, many seoer like to say nofllow tag, in fact, nofllow is not a tag it is just an attribute of the html tag. It is generally believed that links that use the nofllow attribute will not be tracked by search engines (this view is controversial), let alone pass weights to the linked page. The most common way is to use the nofllow attribute to avoid unnecessary loss of page weights so as to achieve the purpose of weight centralization. The usage is as follows: anchor text

Many seoer only know the above one commonly used way, in fact, the nofllow attribute can also work on the links throughout the page, because this usage is rare, so this article will not expand, will use a separate article to talk about the use of the nofllow attribute.

4. Canonical attributes of tags commonly used in website optimization

The Canonical attribute is also called the Canonical tag by many people as it belongs to nofllow. But it is more unfamiliar to some seoer than the nofllow attribute. Canonical has an authoritative meaning in English and is used in SEO to solve the problem of repetition of content caused by different forms of URLs. The most commonly used ways of writing are as follows

The Canonical tag in the web page can tell the search engine which page is the most standard and most want to be included by the search engine among several pages with the same content and different URL. It can avoid the weight dispersion problem caused by the same content pages of the website through different URL, so as to achieve the purpose of centralizing the weight of the page.

In the current era of mobile Internet, Baidu has given Canonical attributes a new role, that is, with the help of Canonical attributes for mobile adaptation.

5. Mate tags of commonly used tags for website SEO optimization

The mate tag, the most important tag of all optimized tags, does not have one. The well-known TDK tags are attributes of the mate tag. Because the function of mate tag is very powerful and plays too many roles, in view of the limited space, this paper only briefly explains the three functions of mate tag in optimization.

Function one: carrying Keywords and Description attribute content, is an indispensable element of page optimization.

Function 2: carry on PC station and mobile station adaptation label, mate tag shoulders the important task of mobile adaptation.

Function 3: 301 jump to a single web page, which can be used for page centralization and website revision.

6. Title attributes of tags commonly used in website optimization

The title attribute can be applied to many html tags, including a tag, img tag, embed tag and video tag, which are common from the point of view of website seo optimization. Lao Kang believes that the main role of the title attribute is to improve the user experience, and the text information displayed over the html element is the title attribute content. It is recommended to use the title attribute to improve the user experience when embed tags, video tags and link text cannot be fully displayed.

7. The alt attribute of the tags commonly used in website SEO optimization

In site optimization, the alt attribute is mainly used in the img tag. Add the alt attribute to the img table one is to describe the picture through the alt attribute to tell the search engine the meaning of the picture; the second is to improve the user experience, when img lacks the title attribute, the text information displayed when the mouse moves over the picture is the alt attribute content; and when the picture cannot be displayed normally for some reason, the text in the alt attribute will be displayed instead of the picture.

At this point, I believe you have a deeper understanding of "optimizing the html tags of the website". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report