In terms of SEO, we typically want to put the most important content as near to the top of the HTML code as possible. This means that the order of visual appearance will differ from the order of appearance in the HTML code.
For example, a typical search results page will contain the following elements:
Order of Visual Appearance
- Header – logo, content and location search text fields, search button
- H1 tag
- Number of results
- Left bar – Navigation links
- Additional navigation links
- Breadcrumb in center column
- Content/results(contains one Google AdSense ad)
- Right column – this is a placeholder that currently contains one Google AdSense ad, and a social media linking widget. This can be used to display related results and other content
- Related affiliate results based on the search parameters
- Results paging links
Order of HTML code
- H1 tag,
- Number of results
- Center column, Content/results (contains one Google AdSense ad)
- Affiliate results
- Breadcrumb
- Left bar – Category and sub-category links
- Right bar
- Results paging links
- Footer
- Header – logo, content and location search text fields, search button
My question sits around where to position the header section in the code. As you can see, the H1 tag and results are first nearest the top of the code. Common artifacts across various pages such as navigation and header are position nearest to the bottom.
Is this order consistent with suggested technical SEO coding practices?