问题描述
我在文档中使用H1标签作为主标题,就像你一样。 H1中的文本是公司的标题,需要在每个页面上显示。我在每个页面上使用H2标签作为主要内容的标题。所以H1在每个页面上都是一样的,H2也会改变。
我知道很多的网站使用H1来完成我在H2中所做的事情,我是否因为不这样做而失去了自己的能力?我知道在语义上我不能让H1变成H2,反之亦然,所以我想知道最好的选择是什么。我的H1总是一样吗?任何建议表示赞赏!谢谢!
Darren。
$ c> h1 作为页面标题,而不是公司名称。只需将公司名称放在 div
中,并将其设置为标题。
对于SEO目的,公司名称与该页面不具有部分相关性。为页面添加各种标题更加重要,这样搜索引擎就不会认为你的所有页面只是同一页面的不同版本。
使用公司名称作为标题意味着您减少了页面标题的相关性,使得搜索引擎索引关键字页面的可能性降低。
例外当然是主要该网站的页面,使公司名称成为最相关的信息是有意义的。
I'm using the H1 tag in my document as the main title, as you do. The text in the H1 is the title of the company, which needs to be shown on every page. I'm using the H2 tag for the title of the main content on each page. So the H1 is the same on every page, and the H2 changes.
Example http://dev.darrenhall.info/temp/stackoverflow/h1/h1.gif
I know that a lot of sites use the H1 to do what I'm doing with the H2, am I losing out by not doing this? I know that semantically I can't make the H1 into a H2 and vice versa, so I'm wondering what the best option is. Does it matter that my H1 is always the same? Any advice is appreciated! Thanks!
Darren.
You should use h1
for the page title, not the company name. Just put the company name in a div
and style it to look like a headline.
For SEO purposes the company name is not partically relevant for the page. It's more important to get varied headlines for the pages, so that search engines doesn't think that all your pages are simply different versions of the same page.
Using the company name as headline means that you reduce the relevance of the page title, making it less likely that search engines index the pages on the keywords.
The exception is of course the main page of the site, where it makes sense to have the company name being the most relevant information.
这篇关于H1标签,SEO和语义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!