What's the recommended way to structure html that includes navigation so it's still SEO'able and accessible.
For example, should the structure be more like that of a document:
or:
Obviously CSS is used to control the layout, but bots and screen-readers ignore the CSS.
Since websites often have multiple pages, it's vital that the content is organized in a way that makes sense. If your site structure is confusing, then it'll hinder your SEO (search engine optimization) and frustrate users.
7.1 Introduction to the structure of an HTML documenta line containing HTML version information, a declarative header section (delimited by the HEAD element), a body, which contains the document's actual content. The body may be implemented by the BODY element or the FRAMESET element.
Well-structured semantic HTML helps screen reader users better understand the layout of your page. It also lets them preview sections and skip between different content regions, similar to how sighted readers skim web pages. This HTML structure is much more navigable than a clump of generic <div> and <span> tags.
I've been asked to move the navigation after content by a client before, but I don't think it helped them much. I generally follow the first structure you mention above.
Some random tips:
Any page that doesn't have it's content stashed away in Flash or similar is SEO'able. The web crawlers tend to strip everything and read the page as a text stream. Some pay attention to your keywords, their use in the body text, H1 & H2 tags, page title and even domain name but I don't think they are affected by the order of page structure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With