seo commonly used code tags mainly include: 1. [
] represents the title of the web page; 2. [] is used to provide web page information; 3. [ ] is used To define the document title; 4. [ ] is used to define a new paragraph; 5. [
] is used to break lines.] represents the title of the web page; 2. [] is used to provide web page information; 3. [ ] is used to define the document title; 4. [ ] is used to Define a new paragraph; 5. [
] is used for line breaks.
##seo commonly used code tags mainly include:
1,: <title> represents the title of the web page and appears at the head of the HTML document. It starts with <title>, ends with </title>, 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 <meta> 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.
: <h#> 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 <h1> and <h2> tags can highlight important page titles and improve the relevance of keywords to the page. The <h1> or <h2> tags only appear once on the page; the <h3> , <h4> , <h5> tags have little SEO effect, and it is recommended not to use them indiscriminately; <h6> can be used on the homepage for friendship links to reduce the impact of friendly links on the target keywords of the page.
: used to define a new paragraph, applied in the body part, starting with <p> and ending with </p>.
: <br/> is used for line breaks and is used in the body part. <br></br> gradually evolves into <br/>, placed after the text that needs to be wrapped.
: <strong> means emphasis and has the meaning of strengthening the tone, and is displayed in bold in the browser. <strong>The role of tags in SEO is to highlight keywords on the page and improve the relevance of the keywords to the page.
: <img> 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 <img> 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.
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!