Jump to content


Splittext and SEO concerns

Recommended Posts



I'm rather concerned about splitting a title (Hn) into separate letters. Can Google bots read the HTML generated ?


Thanks for your feedback

Link to comment
Share on other sites

Legitimate concern ... I’m not too sure how Google handles divs and spans within heading tags.


But, you could choose to execute/not execute certain scripts based on the reported user agent. User a server side script to put a class on <html> And then use the presence (or not) of that class as a hook in your script.

  • Like 3
Link to comment
Share on other sites

Hello @oligsap and Welcome to the GreenSock forum!


When the Google bot scans your page for the first time, it reads the source code of the HTML document. So it will read the <h1> text before the JavaScript has generated the new HTML <h1> markup.


You can also test your web page using Google web tools like Google PageSpeed Insights and Google Webmaster Tools.


Hope that helps   :)

  • Like 4
Link to comment
Share on other sites

Thanks @Jonathan for your input. You're right I completely forgot that, thanks !

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.