Save Web Pages in Dreamweaver as HTML Files
As you generate HTML, Dreamweaver will use the name and location of the HTML file (in your site file structure) to generate appropriate code. And it can’t do that if the page isn’t saved.
Before you create content on a Web page in Dreamweaver, you should save the page as an HTML file.
For example, you can generate relative links in Dreamweaver — links that don’t contain a full URL (like www.dummies.com) but simply point to a filename — and, if necessary, a folder location (like about_me.html). Generating those relative links works only if Dreamweaver knows the HTML page’s filename and location. And that is very, very important.
So, save your page off the bat. It’s easy, and you will thank yourself many times later:
Click the Site Root button in the Save As dialog box that appears to quickly navigate to the root folder for your Dreamweaver Site.
Enter a filename in the Save As field. Leave the filename extension at the default .html, and click the Save button.