Strategic SEO services
that produce results

searchengineoptimisation.com will take your
results one way. Up.

Search Engines and JavaScript

JavaScript is a very powerful web language and is used by virtually every website you view in some shape or form. There are infinite ways JavaScript can be used, from simple scripts like showing a clock to complex scripts like AJAX searching, page updating and even small games, etc.

Unfortunately there is a downside to using JavaScript on your website; Google and all of the other search engines can’t read it. The most they will read from JavaScript is anything inside a document.write() tag, but even that is not guaranteed. The reason behind this is it normally requires a web browser to parse the code and output its results, but the robots are already very sophisticated and adding such functionality would prove quite difficult.

Some things are OK to use JavaScript with however, here is a short list:

  • Clock/Date Display
  • Analytics Codes (search engine robots don’t need to trigger these, doing so might produce false data)
  • Text Editor Boxes (as these don’t need indexing)
  • … Plus anything else that doesn’t need indexing.

The things you shouldn’t use JavaScript on are:

  • Content
  • Navigation Menus (you can make CSS menus very easily)
  • Tab Systems (unless the content is always displayed in the source)
  • Linking
  • … Plus anything else you want indexing.

So to summarise, anything you want to be indexed and available to search for in the search engines you should not create using JavaScript. Anything you don’t care about getting indexed, you can feel free to use JavaScript.

You should continue to bear in mind that search engines are getting smarter every day and soon they might pick up on this JavaScript, but until that time you should give the robots the best chance possible at indexing your content by making it available on the page as normal text.



This entry was posted on Thursday, August 19th, 2010 at 11:58 am. You can follow any responses to this entry through the RSS feed.

About the author:

Posted by Andy.

Link to us

If you want to link to this blog, copy and paste the following HTML code to your website.

Leave a Reply


Get In Touch

Get in touch today for Free SEO Analysis...


Blog Categories

SEO Proposal & Quote

Enter your details below for a no obligation
SEO Proposal and Quote!

Featured Client

The Image Group UK

The Image Group specialise in Exhibition Stands / Displays and Canvas Printing

Our Twitter Feed


Follow us on Facebook

Email Sign-Up

Enter your details to receive SEO industry tips & news by email.

Client Login

Three easy ways to make SEO content sparkle

Posted on: 03/02 in SEO Strategy

Any your search engine optimization company will advise that good content is a way to get ahead in today's internet. The search engines have...more.

Wikipedia pages: still SEO tools?

Posted on: 01/02 in Online Reputation Management

There was a time when Wikipedia pages were seen as a useful tool for SEO. They fit in nicely with link building strategies, and they were gr...more.

How can I get .edu links?

Posted on: 27/01 in SEO Strategy

Many SEO experts sing the praises of .edu links. These links, coming from academic institutions, tend to carry a fair amount of weight with ...more.

Communicate with Video

Posted on: 30/12 in Online Reputation Management

There are a growing number of website owners that are using video as a means of communication on their sites. Using video can be an effectiv...more.

Ways to Promote Your Blog

Posted on: 27/12 in SEO Services

If you have an online business then setting up a blog on your website can help your SEO efforts no end. It can be a great medium for allowin...more.

Three Ways You Can Allow Your Blog to Self Destruct

Posted on: 24/12 in Online Reputation Management

If you want to create a successful group blog as part of your search engine optimisation then you’ll need to invest some blood, sweat ...more.

XML Sitemap | Sitemap | © | Copyright 2009-2010 SearchEngineOptimisation.co.uk | Blog RSS Feed | Article RSS Feed | Video Sitemap