If you’re looking to auto format HTML with Sublime Text, you’ll be disappointed to know that there isn’t a default command to do this. However, because of a healthy community of developers, there is a plugin to achieve this.
For instructions on how to install and use, refer to the project’s github page: Sublime HTML Prettify
Without a doubt, grunt is the greatest tool I’ve encountered this year. It has helped me web workflow by leaps and bounds. Check it out, this is a great video on getting up to speed with grunt.