Even if you’ve written all your HTML code and included text, graphics, or even audio/video in your page, you’re page isn’t really a web page until you save it as a web file. This amounts to choosing a file type and a file extension.
All web pages are actually text. Good HTML editors like Dreamweaver will save your files in the correct format. However since it’s possible to write HTML code in any text editor (from simple editors like Notepad, Pico, and SimpleText to advanced editors like Microsoft Word), it’s worth noting that if you use a text editor to edit your HTML you’ll need to look carefully when saving the page to make sure you’re saving it as a text file. For instance, the default file type for Microsoft Word is “Microsoft Word Document,” which uses the .doc extension. That format won’t work for a web page.
Also, when naming your web pages, you should add the file extension .html (.htm will also work, but you should use .html).
As soon as you save your files correctly, you’ll find you can preview them in a web browser from your workstation even if they haven’t been published in a live website.