SEO文章和部分的最佳HTML5语义? [英] Best HTML5 Semantics for SEO article and section?

查看:116
本文介绍了SEO文章和部分的最佳HTML5语义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题是关于文章部分和旁边的标签,因为它涉及最佳的SEO实践。我已经看到一些教程教你应该放置一个文章标签,并在文章标签内的各个部分标签。然而,我读过的一些书籍反过来并且放置部分并嵌套在其中的是文章标签。对于最好的搜索引擎优化结果,这两种方法中哪一种最好?为什么?显然,我们的工作不仅是为消费者提供最好看的网站,而且还提供一个SEO友好的网站。

This question is in regards to the article section and aside tags as it relates to best SEO practices. I've seen some tutorials teach that you should place an article tag and inside the article tag various section tags. However some books I've read have it the other way around and place sections and nested in them are article tags. Which of the two methods is the best, for the best SEO results and why? Obviously our job is to not only give the consumer the best looking site, but also a site that is SEO friendly.

<article>
    <section>
        <aside>...</aside>
    </section>
    <section>...</section>
    <section>...</section>
</article> 

<section>
    <article>...</article>
    <article>...</article>
    <article>
        <aside>...</aside>
    </article>
</section>


推荐答案

这与SEO无关,这两种结构有不同的含义:

This has nothing to do with SEO, the two structures have a different meaning:

  • A list of blog posts could be a section with an article for each blog post.

长篇博文可能是 article 使用 每个部分/章节

A long blog post could be an article with a section for each section/chapter.

另见我的答案标记示例

这篇关于SEO文章和部分的最佳HTML5语义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆