When google crawls a web page , do google bot crawl
-
content with code like
style="display:none" -
content with code like
style="display:block"
the question i am asking because i have a website of F&Qs.
-
For user i want answers to be displayed only when he clicks on “answer/solution” link.
-
For google bot i want solution section to be crawled else my content of page becomes too less.
Yes google will see content that is both display none and display block
Your FAQ section will be seen by google bots.
See these articles:
Webmaster Guidelines: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35769
Hidden text and links: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=66353