: Will Google skip nav tags when considering what content to use as page descriptions? Pre-HTML5 we used div and ul tags to markup navigation bars and a lot of times the navigation is at the
Pre-HTML5 we used div and ul tags to markup navigation bars and a lot of times the navigation is at the top of the HTML document. In the absence of meta description content, Google uses its own logic to determine what to use in place of the description to show in the search results. Turns out it picks the text in the navigation bar instead of the page contents.
Will using nav tags to markup navigation make Google skip the navigation? What tags will indicate to Google that the enclosed content is the main page content?
Please avoid suggesting the use description meta tag to "solve" this problem. I am more of trying to understand the behaviour and result when not using description meta tags.
More posts by @Marchetta884
4 Comments
Sorted by latest first Latest Oldest Best
I don't have a link but read an article within the last few months, possibly Matt Cutts but definitely from Google, who said Google still does not consider the new HTML5 elements when analyzing content. So using <nav> makes no difference but a link is a link, a heading <hx> is a heading, and text is text and carry far more weight than anything else you can do. <main>, <section> and <article> mean nothing. Even browsers don't use them for the outline algorithm.
If you think you can hide content inside a HTML5 document then quit thinking that. You can advise and give hints but Google will do what they think is important for search cause they're a lot better at it than anyone else.
The current HTML ("HTML5") standard includes a <main> element for this purpose. Using separate header / footer / nav / main elements help you indicate the main page content; something like:
You should also find the relevant Microdata/Schema.org schema for your page content. A Product for example would use itemprop="name" to identify what the product is and itemprop="description" to actually describe it.
There's a few tricks that can be used to stop Google grabbing random text for dynamic descriptions:
HTML5 elements <article> and <aside> can be used to direct Google to what it should consider the 'main content'. It will stop scraping descriptions from <asides>.
It won't pick descriptions from titles or navigation bars. Same with the <footer> element.
If you're using lots of divs full of text, you can add HTML5 class names to mimic the behaviour of 1. and 2. - <div class="nav"> for example.
Google will only grab descriptive text that shows relevance to the query. If it thinks it's more relevant than your description meta tag - it will ignore the tag. Make sure the first piece of text surrounding the query you're trying to get a description for is relevant and looks 'search worthy'.
Normally, Google will only use the text in a navigation bar only if it's relevant to the search itself.
If you're looking for a way to make sure it skips it, HTML5 the nav tag may not help too much - at least for the time being, this may and should change.
To make absolutely sure that pagination text is skipped, I suggest displaying it via before: or after: pseudo elements, after all, it is presentation, not content.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.