The most search engine friendly web pages are static web pages, but most content-rich or interactive websites inevitably use relevant technical languages to implement content management and interactive functions. The technical support emphasized by search engine optimization is mainly the optimization of specific codes and the measures to statically process dynamic web pages.
HTML documents with .html or .htm extensions are called static web pages. Meta is called meta tags, which are located in the <head> and </head> of the web page. Meta tags have many uses. At present, almost all search engine robots classify web pages by automatically finding Meta values. They are the basis for judging the content of web pages. The most important of them are description (website description) and keywords (website keywords). In addition, a basic tag is the ttle (title) tag, which prompts the search engine about the topic of this page.
(1) Title tag (title)
Web page optimization can be said to start with the title. In the search results, the text displayed in the first line of each crawled content is the title of the page. Similarly, when a page is opened in a browser, the title of the page is also displayed above the address bar. Therefore, the title can be said to be the core of a page. When writing a title, pay attention to the following issues.
① The title should accurately describe the content of the web page, be concise, highly summarized, and contain keywords. However, there should not be too many keywords, and no more than 3 phrases. The title of a company website usually contains “company name + keywords”. The title tag <title> is placed in the <head> element of the HTML document.
② Each page title on a website should be unique, which helps search engines understand the difference between the page and other pages on the website and avoid using a single title for all pages or a large number of pages on the website.
③ The title should be organized into short sentences or phrases that conform to grammatical structure and reading habits, avoiding meaningless phrases or filling unnecessary keywords in the title.
(2) Keyword tag (keywords)
Keywords prompt search engines: The content of this website revolves around these words. Therefore, the key to keyword optimization is that each word can find a corresponding match in the content to facilitate ranking. Detailed keyword optimization techniques are shown above. Like the title tag, the keyword tag <keywords> is also located in the <head> element of the HTML document.
(3) Description tag (description)
The website description uses a short sentence to tell search engines and visitors about the main content of the web page. In the search results obtained by searching with the core keywords of the website, the description is often displayed as a few lines of description text after the title. The importance of the description is generally considered to be after the title and keywords. Like the title tag <title> and the keyword tag <keywords>, the description tag <description> is also located in the <head> element of the HTML document.
When writing the description tag, pay attention to the following issues.
① The description should accurately summarize the content of the web page. It is recommended to use keywords, but do not use only keywords. Avoid using general descriptions such as “This is a web page” or “A web page related to baseball cards.”
② Each page description on a website should be unique. If the website has thousands or even millions of web pages, a description meta tag can be automatically generated based on the content of each web page.
③ Follow the principle of brevity, the number of characters (including spaces) should not exceed 200.