Google SEO and hidden elements Google SEO and hidden elements javascript javascript

Google SEO and hidden elements


hide your menu with javascript on pageload. this way google will still analyse your text. it ignores display:none elements, as well as elements which textcolor is the same as background color, thus making it invisible to the human eye

sources: i read it in a book a long time ago. there are sites on the internet though on the topic


This is a genius solution to hide the content via Javascript without having the content flashing while the page loads. Searchbots and users that don't have Javascript enabled will see the text displayed.


You are perfectly safe using display none, this person ran a test and shared the results. Just don't use the attribute for grey hat SEO and you should be fine.

http://seotesttool.com/blog/does-the-google-bot-index-css-hidden-divs/