任何网页中是否必须至少有一个“H1”?
任何网页中是否必须至少有一个H1
?在可访问性、语义和搜索引擎优化方面。
Is it necessary to have at least one H1
in any web page? in terms of accessibility, semantics and SEO.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这不是必需的。对其他标签提出同样的问题,是否有必要有一个 < H2>标签?
话虽如此,< h1>标签是主标题,因此如果样式正确,应该为您的页面添加一个主要焦点。
It is not necssary. Ask the same question about other tags, is it necessary to have a < H2 > tag?
That being said, the < h1 > tag is meant as the main heading, so if styled correctly should add a main focus point to your page.
是的,没有必要,但也不是没有必要。我的意思是从技术上讲,没有必要有 img 标签或 a 标签。如果你不想真正懂技术,你甚至不需要 html 标签,大多数浏览器仍然会渲染页面,但这是非常糟糕的做法。 H1 标签实际上很有用,特别是对于 css,作为附加的 p 标签。
Yeah It's not necessary however it's not unnecessary. I mean technically its not necessary to have img tags or a tags for that matter. And if you wan't to be really technical, you don't even NEED html tags most browsers will still render the page, but that's extremely bad practice. H1 tags cab be useful actually, specificially with css, as an additional p tag.
不一定要有至少一个,但有必要按照 seo 人员的建议不要放置多个
标签。
It is not necessary to have at least one but it is necessary as advocated by seo guys not to put more than one
<h1>
tag.仅用于搜索引擎优化。
人们认为(为了在谷歌中获得高排名)页面的文本链接应该在
和
only for seo.
it is THOUGHT (for high rankings in google) that the TEXT LINK TO a page should be found in the
<h1></h1>
AND in the<title></title>
and should come up a couple of time in the text.