html optimization of the SEO

1, Meta tag , this is a top priority

<title>html对seo的优化</title>
<meta name="title" content="html对SEO的优化">/*不推荐用这个*/
<meta name="keywords" content="SEO,爬虫,搜索引擎、百度、html优化">
<meta name="description" content="通过html标签及属性的使用提高网站被爬虫爬取的几率,使用户百度时网站尽量排在前面,提高用户的点击率">

2, logo , logo image to add h1 tags, a link to the home page and alt

<h1>
   //这个href应该是要写线上的首页地址,比项目目录地址要好
	<a href="https://blog.csdn.net/qq_37291064/article/details/90442991">
		<img src="images/pagelogo.png"  alt="html对seo的优化"/>
	</a>
</h1>

3, img tag , img alt attribute tag increases, the logo, also mentioned

4, a label
a tag title attribute the increase, not have href = "#" This wording empty point, and I think a lot of title sensory experience is not very good, no place would not have it

5, h1 ~ H6 tags
h1 be assigned to the site name or logo to use with alt tags (also mentioned this earlier), to emphasize the site name. h2 tag is used to define the "Site subheading." If no subtitle, h2 tag preferably also empty, a rainy day. h3 tag is used to define the navigation column name, h4 tag is used to define a list of article titles, but most of the contents of the system, list of articles output UL labels, so h4 probably of no use here just so. The browser will automatically add a blank line before and after the title. Make sure that the HTML heading tags only for the title. Not only to produce bold or large text and use the title because search engines use the title to the structure and content of the tag to index your web pages.

6, add a robots.txt , websites and search engines to build a bridge of dialogue
add a robots.txt file in the root directory of the project, robots.txt file tells search engines which is the key, which is negligible, saving search engine spiders to crawl saving time web server resources, but also to some extent,

7, page a clear structure , using semantic tags such as header, footer, content, section, js, css external file using

8, increase the external links
that is not the other side and you link, you can also link to other people, about the search engine algorithms embodies the spirit of the Internet "sharing" it, by activity site outside the chain rub point of seo

9, the front and rear end of the separator (VUE, Ajax), Flash unfavorable seo

These are just standing seo point of view, according to their own specific circumstances, but the first few should not be a problem, just as no two external links how to do later, you have to add force? Before and do not use end separation are you kidding it, so that give up time or to give up, and the front and rear ends of the separation that now they have to improve seo way, rendering a service side, saying soldiers to be blocked, the water to soil flooding.

Guess you like

Origin blog.csdn.net/qq_37291064/article/details/90442991