Just put .html into the file name when you're saving it (also save it as a text document).