To make your WordPress blog too fast, you have to consider all mentions that any Page Speed checker says. You have seen Minify HTML error on Page Speed testers when you were checking your blog speed. Now to Minify your blog HTML, you tried to use many WordPress plugins that we dont want to mention here but the result is useless as it still showing Minify HTML error in Page Speed tests.
Now if you think that any plugin can do it then keep in mind that using too many plugins can be dangerous for your WordPress security and also SEO as they can interrupt with your other function and can make a loop hole for hackers so you should avoid plugins as mush as you can and if there is an alternative to plugin work then you should leave plugin 101% surely.
You have already seen many tricks to Minify HTML and after following those tricks they really Minify HTML but Page Speed testers are still giving the error so it means that they are useless because they have not showing the notice that this page is minimized. When you will add our below code then after seeing your view-source of your WordPress blog, you will find the below line at the end of your page that means your page is minimized and will help to remove your Page Speed errors.
<!–-HTML compressed, size saved ...%. From ...bytes, now ...bytes-–>
How To Minify HTML Without Any Plugin In WordPress Easily?
Copy the below code and Paste in in your Theme Function(function.php) file.
Step 2:) Save and you are done.
Theme Files Editing Warning:
Keep in mind that every code that you will add in your themes files will be removed when you will change the theme. So after changing your theme, you have to follow this article again and you will get everything back same as it is now.
This is what we have and shared in easy steps for newbies so that they can easily know how it works. Stay with us because we are going to share a whole guide step by step about WordPress and make it easy for you. If you liked it then share it and be with us to get next tutorial. If you have any problem then feel free to ask us. We will help you with what we can or have.