Better HTML structure - Virtual Store

Asked

Viewed 412 times

3

Talk, you guys, blz ?

My question is the following: what is the best HTML structure to build a virtual store ? Taking into account semantic and SEO patterns.

For example:

  • I must use divs, li or articles in the list of products ?
  • Or should I use articles only on the category pages and the rest divs or li ?
  • I can use sections inside sections, to separate the products on the same page ?

It would be something like this ?

...
<section>
    <header>
        Header Pagina
    </header>
    <section>
        <header>
            Categoria 1
        </header>
        <article>
            Produto
        </article>
    </section>
    <section>
        <header>
            Categoria 2
        </header>
        <article>
            Produto
        </article>
    </section>
    <footer>

    </footer>
</section>
...
  • 1

    There is no such thing as: "My question is the following: what is the best HTML structure to build a virtual store ? Taking into account semantic and SEO patterns." - You have to make the structure according to what will happen with your site, there is no way to give a ready answer to this. There would be no way someone could give you an answer that would suit any situation. Have you considered the possibility of hiring a professional in the area?

  • Another alternative, if you really are looking for a "canned solution" is to look at the existing websites in the market and "be inspired" by their source, but already forefront: many of the large national e-commerce portals are lined with pork service, Then there’s the risk of you copying crap. Note that I think it is good your initiative in learning how to do it right, the warning of the first comment is intended to understand that it is not that simple, and that you will have to commit a lot if you want to do it on your own. But then you’ll have to be more specific and punctual in the questions.

  • Here are some tips to make the question more relevant: [Ask] - Note that while you have no answers, you can [Dit] the question at will and make it more specific, dividing your question into smaller parts and possible to be answered in the format Objective Question -> Objective Response

1 answer

2


Face your question has no answer because there is no structured HTML for sites of type a or b, HTML is to structure how the elements will be displayed. Trying to help you I’ll tell you what:

  • Thinking about optimizing your SEO code always use HTML5, since your tags are searched by search engines because of semantics.
  • Studies well the purpose of each new HTML5 tag not to use them in wrong contexts.
  • Code is not the most important thing when it comes to SEO, think about it and a searched.
  • Should I use Ivs, Li or Articles in the product listing ? Or should I use Articles only in the category pages and the rest of Ivs or Li ? I can’t answer you because it depends on how the page will be structured.
  • Can I use sections within sections to separate products on the same page ? Yes, Section can stay inside another Ction, it has no restriction, but if it will meet your need it depends on the content and structure of the page.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.