Compress html

What is the easiest way to compress my html website? I see there websites that will do it for you. Do I needs some type of .htaccess statement?

There are a few sites that you would be able to use to compress the html code of your site.

You would also be able to add an htaccess rule to have the web server compress the page

More information on setting up an htaccess file here–htaccess-overview

Here are few online sites to convert compress you can use: