Ad

From A SEO Perspective, Is It Bad To Minify HTML?

- 1 answer

Is it generally good, bad or no difference from a SEO perspective, and Goole SERP placement, to minify your HTML i.e. remove linebreaks, empty rows, spaces etc?

Ad

Answer

From SEO perspective, the line-breaks, empty rows, spaces are not taken into account. It just takes some semantic elements such as images, headers, links, paragraphs, etc.

But wait, SEO ranking differs in the website speed. So, minifying html would load the site in better speed.

So, it's really good to minify the page.

Ad
source: stackoverflow.com
Ad