What happens when I minify my HTML in SEO terms? I mean, I minified my HTML which means that every <meta... />
tag is being placed on one line.
Will this affect my SEO at all?
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.
Sign up to join this communityOnly in the sense that your page will download faster and Google gives you points for that because a faster page load is a better user experience. Otherwise, minimizing your page has no other impact.
In addition,
Minifying a resource, be it a CSS, JavaScript, or HTML file—is simply the process of removing spaces, comments, tabs, and other unnecessary code in the file.
There are many tools available for minification.
Use Google’s Closure Compiler for JavaScript, YUI Compressor for CSS, and an HTML minifier for HTML. Again, it’s easiest to simply download the minified versions of the files PageSpeed Insights provides.
If you’re running any CMS, you can take advantage of the
minification by many plugins.
Google watches code. Not spaces between it.