/    Sign up×
Community /Pin to ProfileBookmark

Will google and other bots see display: none; ?

I have a project in which a DIV needs to be hidden from search engines and other spiders. Initially, the DIV is hidden using the CSS “display: none;”. When a user clicks a graphic, it is changed to “display: block;”

Will search engines see the contents of this DIV or will it ignore it? Do I need to generate the contents of the DIV dynamically using JS when the user clicks the graphic so google won’t see it?

to post a comment
SEO

2 Comments(s)

Copy linkTweet thisAlerts:
@sameer_net_inSep 13.2006 — search engine dont generally see display none.

for better implementation put display:none in external css file.

also dont put the div content in javascript,

search engines dont read java scripts.

what i suggest is dont stuff tags with keywords,

search engines record tags upto certain length, so put most important keywords at start.

rather stuff your page with content
Copy linkTweet thisAlerts:
@dotancohenOct 13.2006 — Is your goal to have google read the content, or to hide the content from google? Do you care about other search engines, such as MSN or Yahoo?
×

Success!

Help @MicahCarrick spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.23,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...