Reproduced from the front-end network: Five elements lack of fire
Optimization skills are teachers in the classroom can not teach you, and you can not understand in the practice, the most convenient way is to listen to other people's experience, so reproduced
SEO Essentials:
1. Semantic HTML tags, nesting appropriate content with appropriate tags, not overly dependent on Div, more friendly to the browser can be more easily crawled.
2. Important Content HTML code is placed on the front and left. Search engine crawler is from left to right, from top to bottom to crawl, using layout to achieve the important code on top
3. Important content to write in the HTML schema, spiders will not crawl JS content,
4. Minimize the use of the IFRAME, as spiders do not crawl the contents of the IFRAME.
5. To add ALT to the image IMG, add alt to the title, avoid the search engine think we are malicious optimization. ALT allows you to have text prompts when the picture is not loaded.
6. Need to emphasize the place plus title, this page within the jump a tag also add title.
7. Important places can keep the text, some places must use the picture, but the spider does not climb the IMG, then should set the text, then uses the indentation hidden method to remove the text, for example the logo optimization is doing this. Note that hiding can not be used display:none, spiders will not retrieve the contents of Display:none, the use of this method of the label is generally the logo, title and other important information
8. Try to do the separation of JS, CSS, HTML, do not write style code in HTML.
9. Note that things can be removed should be removed, more friendly to search engines
10.css put in the head, JS put in the tail, try to use the outside chain or tools to compress CSS and JS
11. Reduce the HTTP request to make the page load faster.
12. Use local cache to access websites faster, use CDN networks, and speed up user access.
13. Use G-zip compression, browse faster, search engine crawl More information
The key point is the Title,description,keyword setting of the head.
1.title settings should not be too long, to be brief, the name of the site and related small content, generally 10-20 words. Cannot repeat
2.keywords set 10 keywords, each word can not be too long, short and meet the characteristics of your site, can not repeat
Describe your site in 3.description,50 words
Description write original words, and contain 2-3 words better
SEO Tips (reprint)