Home>Article>Topics> What are the main code tags commonly used in SEO?

What are the main code tags commonly used in SEO?

coldplay.xixi
coldplay.xixi Original
2020-10-23 13:52:55 4437browse

seo commonly used code tags mainly include: 1. [] represents the title of the web page; 2. [<meta>] is used to provide web page information; 3. [<h#>] is used To define the document title; 4. [<p>] is used to define a new paragraph; 5. [<br/>] is used to break lines. </p> <title>] represents the title of the web page; 2. [<meta/>] is used to provide web page information; 3. [<h#>] is used to define the document title; 4. [<p>] is used to Define a new paragraph; 5. [<br/>] is used for line breaks. </p></h#>

What are the main code tags commonly used in SEO?

##seo commonly used code tags mainly include:

1,

: represents the title of the web page and appears at the head of the HTML document. It starts with <title>, ends with , and the title of the web page is in the middle.

2,

: used to provide web page information and appears in the header of the HTML document. There are three attributes in the tag: charset, keywords, and description. charset represents the character set, also called encoding, which is the general term for text and symbols; keywords are used to set the keywords of the web page, which facilitates search engines to understand the main content of the web page and display the web page in the corresponding search results; escription, describes the website Related Information.

3,

: is used to define the document title, # can be replaced by numbers 1-6. The smaller the number, the higher the level. In the default appearance of the title, the higher the level, the larger and more eye-catching the title is, and it is applied to the body part. The

and

tags can highlight important page titles and improve the relevance of keywords to the page. The

or

tags only appear once on the page; the

,

,

tags have little SEO effect, and it is recommended not to use them indiscriminately;
can be used on the homepage for friendship links to reduce the impact of friendly links on the target keywords of the page.

4,

: used to define a new paragraph, applied in the body part, starting with

and ending with

.

5,


:
is used for line breaks and is used in the body part.

gradually evolves into
, placed after the text that needs to be wrapped.

6,

: means emphasis and has the meaning of strengthening the tone, and is displayed in bold in the browser. The role of tags in SEO is to highlight keywords on the page and improve the relevance of the keywords to the page.

7,

: is used to define the image, and set the image through related attributes, which is applied to the body part. The role of the alt attribute in the tag for SEO includes allowing Baidu to better identify image information, so that images can be included and ranked, and can be used to adjust the density of keywords.

8,

: Also called hyperlink tags, they are essentially part of a web page and allow connections between web pages on the same website or between web pages on different websites. element.

Starts withand ends with. The two important attributes in thetag are the target attribute and the title attribute. The target attribute defines where the linked web page is displayed. It can be a new window or this window. target="_blank" opens in a new window and target="_self" displays in this window. The title attribute is to add descriptive text to the link, which can improve the relevance of keywords and pages and adjust keyword density.

Related learning recommendations:Website production video tutorial

The above is the detailed content of What are the main code tags commonly used in SEO?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn