Setting the default file extension of new HTML documents

Setting the default file extension of new HTML documents

You can define the default file extension of HTML documents created in Dreamweaver. For example, you can tell Dreamweaver to use an .htm or .html extension for all new HTML documents.

To set the default file extension of new HTML documents:

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).

    The Preferences dialog box appears.

  2. Click New Document from the category list on the left.
  3. In the Default Document Type, make sure HTML is selected.
  4. In the Default Extension text box, specify the file extension you want for new HTML documents created in Dreamweaver.

For Windows, you can specify the following extensions: .html, .htm, .shtml, .shtm, .stm, .tpl, .lasso, .xhtml.

For Macintosh, you can specify the following extensions: .html, .htm, .shtml, .shtm, .tpl, .lasso, .xhtml, .ssi.



Getting Started with Dreamweaver
Dreamweaver Basics
Exploring the Workspace
Setting Up a Dreamweaver Site
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly