• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Lesson 1. Learning the Basics > Creating and Saving a New Page

Creating and Saving a New Page

Whenever you create a new page, the first thing you should do is save your document.

Create a new empty page by choosing File > New.

Don't wait until you have text or graphics on the page to save—save your pages as soon as you open new documents. This way, when you do import graphics or other media, all the paths that reference where those elements are located in your site will be made properly.

In Windows, you can also choose File > New Window in the Site window to create a new page.


Dreamweaver adds the extension .htm (Windows) or .html (Macintosh) to the file name automatically when you save. These are the default extensions, but either can be used. You can change this extension by choosing Edit > Preferences and selecting the General category. Make your change in the Add Extension when Saving text box.

Choose File > Save to save the file. Locate the folder Lesson_01_Text where you will save this file. Type surf_hawaii.html in the File Name text box at the bottom of the Save As dialog box and click Save.


For Windows users only, if your system is set to automatically add the appropriate extension after you save, you do not need to include the .htm in the File Name text box.

Naming your files for use on a Web server is a little different from naming your files for your hard drive. First, you need to know what operating system the server will be using—Windows NT, UNIX, or Macintosh. The naming structure is different on each of these platforms. UNIX, for example, is case-sensitive, which means that myfile.htm does not equal MYFILE.HTM. Your best bet, if you don't know the server type, is to use lowercase names for your files. Here are some other rules to follow:

Don't use spaces in file names. Use the underscore or dash character to simulate a space to separate words.

Use letters and numbers but no special characters, such as %, *, or /.

Avoid beginning your file names with numbers.

Make sure that you don't leave a space at the end of the file name. If you do, the browsers substitute %20 for the spaces.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint