- Examining the Dreamweaver Window
- Working with Toolbars
- Resizing Panels
- Working with Panels
- Docking and Undocking Panels
- Grouping and Ungrouping Panels
- Creating a Workspace
- Using the Status Bar
- Changing the View with the Zoom Tool
- Working with Rulers
- Working with the Grid and Guides
- Creating Keyboard Shortcuts
- Setting General Preferences
- Setting New Document Preferences
- Working with Colors
- Setting Highlighting Color Preferences
This chapter is from the book
Setting New Document Preferences
When you create a new document, Dreamweaver allows you to set the default document type you want. The New Document preference options allow you to specify the default document, extension, document type definition (DTD), and file encoding. DTD allows you to select XHTML 1.0 Transitional or XHTML 1.0 Strict to make new Web pages XHTML-compliant. File encoding makes sure your Web browser and Dreamweaver use the right character set for the selected language.
Set New Document Preferences
- Click the Dreamweaver (Mac) or Edit (Win) menu, and then click Preferences.
- Click the New Document category.
- Select from the following options:
- Default Document. Select the type of document you want to use as default (Default HTML).
- Default Extension. Enter the file extension you want to use for the HTML extension, either .html or .htm. (Default .html).
- Default Document Type (DTD). Select to the XHTML document type definition (DTD) you want.
- Default Encoding. Specify the encoding you want to use for new documents and opened documents without any specified encoding. This makes sure your Web browser and Dreamweaver use the right character set for the selected language. The default for HTML encoding is Unicode (UTF-8), which safely represents all characters.
- Use When Opening Existing Files That Don’t Specify An Encoding. Select to apply encoding to when you open a file without encoding.
- Unicode Normalization Form. If you select Unicode (UTF-8) for encoding, select the form option you want: C, D, KC, or KD. Form C is the most common one used for the Web in the Character Model. The others are provided by Adobe.
- Include Unicode Signature (BOM). If you select Unicode (UTF-8) for encoding, you can select this option to include a Byte Order Mark (BOM), which is a 2-4 bytes at the beginning of a text file that identifies a file as Unicode, and order the bytes. This is optional.
- Show New Document Dialog Box On Control+N. Select to show the New Document dialog box or clear to automatically create a document with default settings when you use the shortcut key Ctrl+N (Win) or +N (Mac).
- Click OK.