Daily Tip

Ensure Links Use Proper HTML Anchor Elements

Google can only crawl links that use standard HTML anchor elements with href attributes, so use these to make your links discoverable.

To ensure Google can crawl and index your links effectively, always use the standard HTML <a> element with a valid href attribute. Links created with other methods, such as JavaScript event handlers or non-anchor tags, are less reliably parsed by Google's crawlers. The href value should resolve to a proper URL or URI that Google can request. Avoid using JavaScript pseudo-links like href="javascript:void(0)" or onclick handlers without href, as these may prevent Google from discovering linked pages. Using proper anchor elements helps Google understand your site structure and improves crawlability. [Google]

< BACK TO INSIGHTS