Mobile app version of vmapp.org
Login or Join
Angela700

: If I have nested a span tag inside H1 tag,Is it effect SEO I have a site that give users all kind of services so let's say I put a span tag inside my H1 tag and with js I will replace

@Angela700

Posted in: #Html #LocalSeo #NegativeSeo #Seo #SeoAudit

I have a site that give users all kind of services

so let's say I put a span tag inside my H1 tag and with js I will replace it every 3 sec

for example my h1 tag contains :

<h1>Best italian food in NY order now <span id="dyn_txt">pizza </span> </h1>


With js i will replace the inner text of the span with: pasta,bolognese...

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

2 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

It depends on how you are doing the JS. Google wont index dynamic content (usually) so if you are pulling these items from a db or remote server then you could have an issue. If you are just rotating through a finite array of items by alternating css classes and those are in the static html but hidden (a jquery approach) then the site should be ok.

10% popularity Vote Up Vote Down


 

@LarsenBagley505

I'm looking at: support.google.com/webmasters/answer/35769?hl=en#design_and_content_guidelines
And it states "Avoid tricks intended to improve search engine rankings.". It also suggests you make the site primarily for users. I'm not sure if users want to see text change every three seconds.

Also, the contents of the H1 tag are very important to search engines and with luck you'll get listed in search engines for pizza instead of bolongese or pasta. because pizza is what the search engine bots can read. I personally would not use any other tags inside the H1 tag.

If you must provide word animation on your site, you should make images with those words in them to help users understand the meaning. For example, for pizza, show a box of pizza, and for pasta, show spaghetti. Make a carousel formatted design. My bank's website uses a carousel based design where large images change every few seconds with the option to choose an image and to pause the changes:
pcfinancial.ca/

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme