How do search engines crawl Javascript?

If I add random keywords alt attrb to the images using jQuery document.ready (thinking that the page is already loaded), how does it affect search engines?

Will the search engines get the alt attrb that I added with any JavaScript at all? If not how come it can understand Ajax calls sent via JavaScript?

I want to add the alt attrb to images that don't have any in my client's site, in case they forget to put an alt text. jQuery will replace the empty ones with keywords. Is this possible?

Answers:

Answer

search bots can't read it , if you use JavaScript you need to use server-side language to add keyword to img alt

Answer

until now, Google and other search engines still can not read the script created from a javascript you may need to use other scripts such as php

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.