Any SEO experts here?
I’ve read that JS can be bad for SEO but that current spiders are much better.
It’s been suggested that if you are using JS that relying DHTML and CSS as opposed to heavy JS code help tremendously.
Since JQuery has a good amount of CSS /HTML how is SEO affected? Any one know?
Thanks
Search Engine bots can’t run javascript, so any content generated by JS won’t be seen by search engines. You shouldn’t use JS for creating any essential content anyway, as it is also inaccessible to people with screen readers or no JS enabled.
Javascript should only be used to enhance pages, and in such a way as the page is still accessible when Javascript is turned off. That’s the best usability and SEO practice.
Hmmm…interesting. I’ve read a few articles that say modern search engines can read JS. I’m not saying they say that it is good for SEO but they say that spiders can read JS specifically if you have DHTML /CSS in your code.
yes they can read DHTML contents but can’t read contents generated by Js such as AJAX . You can serch on google “Tools for Seo” or “Spider Simulator” and find out how to spiders will display your page.
You shouldn’t rely on the sometimes-true fact that Search Engines can render JavaScript. If they can it’s normally very limited. Google, for example, can read the following:
document.write(‘content’);But it cannot read this:
document.body.appendChild( document.createTextNode(‘content’) );You shouldn’t use JavaScript to generate content. JavaScript is only okay when enhancing a page. Sometimes, in RIAs, the decision will be made to make it JavaScript dependent – this is becoming a common solution… I can’t say I agree with it.
Well what I’m concerned with is a tabbed JavaScript.
So when they click the tab a new section of info is displayed. Obviously the info that is displayed in the tabbed section is HTML .
Does the search engine pick up this HTML or not?
This is how I figure it out: if I disable JS, does it display?
