Go to file and then use the save optimized option or shift+ctr+alt+s that will make it too.
you will pront a new window with options to save it in gif or jpg format for example. (at least that's how it is in Photoshop CSII) and good to go with the html file
