seo - Heading order in HTML5 -


this webpage example of site:

<html>  <title> artilce header </title>  <body>     <header> <h1> nme of website</h1></header>      <section>         <h2> name of section</h2>          <article>             <h3>article header</h3>          </article>     </section> </body> </html> 

i want know if order correct? or maybe have bad effect on seo?

header in pages, section must have header because of header/…

for example, i have change this:

<html>  <title> artilce header </title>  <body>     <header> <h2> nme of website</h2></header>      <section>         <h3> name of section</h3>          <article>             <h1>article header</h1>          </article>     </section> </body> </html> 

both variants valid html5.

the html5 spec says headings , sections:

sections may contain headings of rank, , authors encouraged use headings of appropriate rank section's nesting level.

so first example recommended html5.

html5 does not define h1 more "important" h6.
how consumers (like search engines) interpret them , differs consumer consumer, you’d have check documentation.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -