Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

Check whether the ALT tag and correct writing method are used on the page in detail

Date:2013-02-03 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

The alt tag is very familiar to most webmasters, but many novice webmasters often see the word "alt", and most of them do not know what it means, especially for new webmasters who are new to SEO and do not understand html code. Here, the editor will explain in detail the role of the "alt" tag, how to check whether there is an "alt" tag on the web page image, and the writing method that is most conducive to the search engine, hoping to help novice webmasters who have doubts about this.

First, I will introduce what the "alt" tag is. Alt: It mainly describes the pictures on the web page, playing a similar role as a note. If "alt" is not used to replace the attribute, the search engine cannot understand the content, meaning and purpose of the image in the web page; When the page image cannot be displayed normally due to network reasons or low bandwidth, the "alt" tag can tell the user the general content of the image and the general meaning of the image, which is conducive to the user experience. For example, if you place the mouse cursor on the picture, a prompt will be displayed, and the content of the prompt is the content of the "alt" label.

After knowing what the "alt" tag is, the editor will introduce four methods to detect whether the "alt" tag is used in images on the web page.

1、 Use myip.cn to check whether all web images have "alt" tags. Take Xiaobian's small station as an example. Open the query website, type the website address in the query column, and click Query, as shown below.

There are 15 pictures on the homepage of the website indicated by the arrow in the figure, and none of them have the "alt" label. Each webmaster can view the relevant information of his website page through this method.

2、 Through Baidu statistics background query. To use this method, websites must use Baidu statistical tools, and ensure that more than 32 pages are visited the day before the detection. The method is as follows. After logging in through tongji.baidu.com, click "SEO Suggestions" in the common tools on the left. Take another small station as an example. The figure is shown below.

3、 Input the web page address through tool.chinaz.com/Tools/PageCode.aspx, check "code coloring" and click query to check all "<img>" to see whether there is alt tag in the code and whether it is written correctly. As shown in the figure:

4、 Check whether the alt tag is correctly used in the pictures by checking the source code of the webpage. The method is as follows: Right click the webpage and click View Source Code. The system will automatically open the source file through Notepad. Use "ctrl+F", enter "<img", and click "Find Next", as shown below.

These are the four commonly used methods to check whether the alt tag of a web page image is normal. Next, I will introduce several ways to write the "alt" tag.

1、 It is not standardized and unfriendly to search engines.

<img src="Picture address" alt=""/>

This method is similar to that without the alt tag.

2、 It is described by words, such as "SEO". This method is slightly better than the first one. As follows:

<img src="Picture address" alt="SEO"/>

3、 Keyword stacking. It is easy for search engines to think that websites are suspected of being bi. It is written as follows:

<img src="image address" alt="seo optimizes the website of network promotion and network marketing"/>.

4、 The purpose, function and meaning of the picture are indicated through sentence description. It is written as follows:

<img src="image address" alt="View ALT tag of SEO page through source code"/>. This is the most friendly way to write for search engines, which describes and nests keywords through simple sentences.



Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.