Rules

Secret ingredients to quality software

Do you avoid having important content in JavaScript?

Last updated by SSW.Rules.SharePointExtractor on 22 Feb 2021 02:13 am (9 months ago) See History

JavaScript is becoming more and more in common the sites we build everyday. We use them for fancy menus, dropdowns or scroll overs, even the whole website can be written in JavaScript.

However, sometimes search engines can't read JavaScript in all of our pages. It's known that Google can index some content inside JavaScript, but not all. If you keep important information that should show up in Google searches, you must make sure it is placed inside normal HTML so that you know it will be indexed. This keeps the code clean and helps search engines index pages.

Adam CoganAdam Cogan
Andreas LengkeekAndreas Lengkeek

We open source. Powered by GitHub