在页面上标记强而不是 h2?
Tag strong instead h2 at page?
我在主页中有服务列表和简短描述:
<div class="services">
<div class="item"><h2>Service 1</h2>Description</div>
<div class="item"><h2>Service 2</h2>Description</div>
<div class="item"><h2>Service 3</h2>Description</div>
<div class="item"><h2>Service 4</h2>Description</div>
</div>
SEO 的最佳方法是什么?我需要为服务名称使用 h2
或 strong
标签吗?
如果您希望爬虫程序将节点中的词索引为您网站的关键词,请使用 H2。最好使用尽可能少的 H2,在一个网页上只使用一个 H1。
最佳使用场景示例:
<div class="services">
<h2>Services Description</h2>
<div class="item"><h3>Service 1</h3><p>Description</p></div>
<div class="item"><h3>Service 2</h3><p>Description</p></div>
<div class="item"><h3>Service 3</h3><p>Description</p></div>
<div class="item"><h3>Service 4</h3><p>Description</p></div>
</div>
编辑:您可以通过将您的一个网站放入 Nibbler 来实际看到这一点:http://nibbler.silktide.com/ - 请注意,您只能使用免费版本测试三个网站,所以不要浪费您的努力在您未创建的网站中:)
我在主页中有服务列表和简短描述:
<div class="services">
<div class="item"><h2>Service 1</h2>Description</div>
<div class="item"><h2>Service 2</h2>Description</div>
<div class="item"><h2>Service 3</h2>Description</div>
<div class="item"><h2>Service 4</h2>Description</div>
</div>
SEO 的最佳方法是什么?我需要为服务名称使用 h2
或 strong
标签吗?
如果您希望爬虫程序将节点中的词索引为您网站的关键词,请使用 H2。最好使用尽可能少的 H2,在一个网页上只使用一个 H1。
最佳使用场景示例:
<div class="services">
<h2>Services Description</h2>
<div class="item"><h3>Service 1</h3><p>Description</p></div>
<div class="item"><h3>Service 2</h3><p>Description</p></div>
<div class="item"><h3>Service 3</h3><p>Description</p></div>
<div class="item"><h3>Service 4</h3><p>Description</p></div>
</div>
编辑:您可以通过将您的一个网站放入 Nibbler 来实际看到这一点:http://nibbler.silktide.com/ - 请注意,您只能使用免费版本测试三个网站,所以不要浪费您的努力在您未创建的网站中:)