You have to make sure you have saved your file using the extension .html after the name of our file. Make sure you have selected All files as the File type. So you need to make sure your file name always reads Example.html. On a Mac you need to make sure the check box If no extension is provided use “.txt” is unchecked. See for more help.