Part of the site code also needs to be optimized

243 Views

As a website optimizer, it is not necessary to refine HTML code, but we should know how to optimize website code. For example, the more important content on the site can increase the added value, so that the search engine has a strong attraction to it, the need for important content can be marked with HTML code, and then the search engine will grab the content will give higher weight. The following dream template network for everyone to introduce: how to optimize the website code?

First, H label optimization

The optimization of H tag is one of the code optimization items, H tag from H1 to H6 respectively. In its weight the best label is the H1 tag, generally can only appear once H1 tag on each page of the website, for the staff engaged in optimization work, must be the most important content of each page placed H1 tag.

Two, nofollow label

Among the optimizers of the exchange buddy chain, there are some people who use nofollow tag to exchange, and the friendship link plays an important role in the weight transfer between stations. If nofollow is added to the code of friendship link, the spider will consciously not grab the link and screen it. Lead to each other’s website is not able to give their own website weight transfer. If there is no nofollow way, the number of links on the website is too much, and the weight of their own website is scattered out. If added, you can add links at will, no number of restrictions, will not be for each other’s website weight transfer. Because the webmaster tool detection, so most want to allow the spider to crawl the corresponding page and not crawl the page, by adding robots. txt to add nofollow mode.

3. ALT label

As far as the spider of baidu is concerned, it cannot read the meaning of pictures posted on the website, but can only read HTML code content and text. In this through their added pictures, and ALT tag can play to tell the spider the content of the picture, such as the ALT tag did not tell the spider, it is impossible to know, the spider picture description information transfer, write on the ALT code need to transfer keywords, better add keyword density, Can not in order to increase the keyword password to use ALT tag, spider can not only include the content of your station article, will also include the corresponding picture, will be displayed in Google gallery.

Part of the site code also needs to be optimized
 

Fiverr

Random articles
Comment
CAPTCHA
Translate »