I placed a text early in the html code for SEO reasons, but visually, this text should be at the bottom of the page. I can’t do this with just CSS.
My question: is it a problem for SEO if I move the text in the DOM with javascript? Not hidden or removed, juste moved.
Thanks !
If you placed your text in the beginning for SEO reasons, but moved it down because it isn’t aimed at the user, Google will interpret that as misleading to the end-user. If they’ll notice a single paragraph? Doubtful. But if you were to make this common practice, I believe this would go in the category of Blackhat SEO, even though it’s mild in comparison to other things you can do.
You have to remember that visitors that end up on your site through Google, is a customer of Google. And if the user thinks he/she was mislead, it falls on Google not doing a good enough job. Keep that in mind when designing.
A tip, if you’re looking for one, is to simply never do things like this. If you design your site and script your text well enough that the visitor finds it useful, Google will see that and ranking will follow. This has been my experience anyways – shortcuts have never worked out (for me) in the long run.