Minifying your HTML codes before putting on the web is a very good idea, because it could save little of bandwidth and page will load much faster in slow net speed. If you have some kind of minifying tool or script running on your server, your can use those technologies to automatically reduce size of your page, but if that’s not possible, you could try minifying your HTML size with dreamweaver.
- 1.This is how HTML file look. We can reduce the size of this HTML file by removing all those white spaces.
- 2. All you need to do is select an empty line by clicking on a line number, as shown below in the picture.
- 3. Using Dreamweaver find and replace tool from Edit menu, click Replace All Button.
- 4. That’s it, you will notice that this simple steps removes all extra white spaces from HTML codes.