Mobile app version of vmapp.org
Login or Join
Cooney921

: H1 and the Header HTML5 Should I put the <h1> tag inside the <header> section (HTML5) or outside?

@Cooney921

Posted in: #Html5

Should I put the <h1> tag inside the <header> section (HTML5) or outside?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney921

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

The h1 header can appear in any block element such as:


<main>, <article> and <div>
<article>, <header> and <footer>
The list goes on and on... and there's no right or wrong.


You should structure your site in a way that it easy to administrate, Google, Bing and Users really don't care about your markup, why? because why should they... its the end results they care about.

In regards of Google not seeing your content correctly either by the Cache or Fetch test then its likely something to do with your CSS, not the HTML.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme