Best HTML5 Semantics for Article and SEO Section?

This question is about the article section and other SEO best practices tags. I've seen some tutorials teach that you have to put an article tag and inside the article tag, various section tags. However, some books I've read have this the other way around, and the section sections and their nested article tags. Which of the two methods is the best for the best SEO results and why? Obviously, our job is not only to provide the consumer with the best website, but also an SEO-focused website.

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

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

      

+3
html5 seo


source to share


2 answers


This has nothing to do with SEO, two structures have different meanings:

  • A list of blog posts can be section

    s article

    for each blog post.

  • A long blog post can be article

    s section

    for each section / section.



See also my answer with examples of markup .

+7


source to share


In general, search engines are able to recognize articles and sections even if no such tags are used. It only helps to establish the relevance and context of your content.



From an SEO standpoint, it doesn't matter if you insert one with the other or vice versa. Search engines don't care. You will not get a rating boost for using one or the other.

+4


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics