Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.
Always test your pages using Google’s own tools and third-party resources to view the rendered HTML to make sure all your content is showing up. Google has come a long way with rendering JavaScript.
HTML is a markup language that forms the basis of most webpages. It is arguably one of the most fundamental parts of technical SEO. Using HTML elements, SEO professionals are able to communicate ...