Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a HTML page where I update the content of a div to display some introduction text when displaying the page. It is hard for me to create copies of this page for all possibilities and move the text as static content correspondingly.

When I have a Javascript, something like this:

    <script type="text/javascript">
        setIntroduction("This is my introduction text etc... etc...");

Does Google (or other index tool) take into account the This is my introduction text etc... etc... text, since it appears in the page? Or is it ignored?

share|improve this question
i'm a bit late to the party...but sounds like a great use for noscript... – albert May 7 '14 at 8:25
up vote 2 down vote accepted

Google does parse and execute some JavaScript. How far those capabilities go is unknown but is definitely limited. It is widely assumed that basic JavaScript such as in your example is basic enough for them to parse and understand so any content generated by that HTML would be recognized and factored into your page's rankings.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.