Dreamweaver

Set 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 use an .htm or .html extension for all new HTML documents.

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
    You can also click the Preferences button in the New Document dialog box to set new document preferences when you create a new document.
  2. Click New Document from the category list on the left.
  3. In the Default Document Type, make sure that HTML is selected.
  4. In the Default Extension 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.