Should I put the <h1> tag inside the <header> section (HTML5) or outside?
Asked
Active
Viewed 73 times
2
Andrew Lott
- 5,854
- 3
- 23
- 44
MiscellaneousUser
- 205
- 3
- 11
1 Answers
1
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.
Simon Hayter
- 32,999
- 7
- 59
- 119