MYONLINEPROOFING.COM

pet proof toilet paper - www.myonlineproofing.com

Menu


Accessible by selecting File, New, and shown in Figure 3.1, the New Document dialog allows you to create new documents based on an existing


predefined skeleton file, create new documents based on a prebuilt template, and more. Figure 3.1. The New Document dialog allows you to open new documents, new preconfigured documents, and ready made templates. [View full size image]   NOTE You can also create a new document by right-clicking the defined site in the Files panel and selecting the New File option from the context menu, by clicking the Files panel's Options menu and selecting File, New File, by using the keyboard shortcut Ctrl+N (Windows users) or Option+N (Mac users), or by using the New File object in the Standard toolbar.   NOTE All HTML pages require <html>, <head>, <body>, and <!doctype> tags. Because this is the case, Dreamweaver adds these tags to pages, also considered skeleton files, within the New Document dialog to help get you started.   As you can see from the callouts in Figure 3.1, the New Document window exposes the following features: General tab: The default option when the New Document dialog is opened, the General tab includes options for selecting and opening various types of files. Templates tab: Choose this option when templates have been created. Any defined templates within Dreamweaver will appear within this tab. Templates are covered with more detail in Chapter 15, "Working with Templates." Category list: Includes all selectable page categories. Page type list: Once a category has been selected from the Category list, the Page type list will display all skeleton files within the selected category. Preview pane: When a preview is available, the preview pane displays a small thumbnail of the selected page type. Description pane: When necessary, the Description pane outlines the features and benefits of the selected page type. Document Type (DTD): The Document Type Definition menu allows you to pick from a pre-defined list of DTDs for your document. A DTD states what tags and attributes are used to describe content within an XML or HTML document, where each tag is allowed, and which tags can appear within other tags. Generally, these rules are outlined by the World Wide Web consortium (W3C). When you run the page validator available from the Check Page submenu in the File menu, the page is validated against the DTD you select here. Options within this list include None, HTML 4.01 Transitional, HTML 4.01 Strict, XHTML 1.0 Transitional, XHTML 1.0 Strict, XHTML 1.1, and XHTML Mobile 1.0. Create Document/Template: Accessible when the Page Designs page type is selected, this option allows you to insert the page as either a single document or as a site-wide template. Help: Launches Dreamweaver's Help window with the New Document dialog as the indexed selection. Preferences: Launches the Preferences dialog with the New Document category selected. Use this option to change preferences for creating new documents. These options will be covered in Chapter 5, "Defining Preferences." Get More Content: Launches the Macromedia Dreamweaver Exchange. Use this feature to search for more pre-built skeleton, page design, and template pages. Of course the focal point of the New Document dialog lies in the categories and page types that are supported from the General tab. The categories and the supported page types are outlined here: Basic Page: Includes skeleton files for creating new HTML, HTML Template, Library Item, XSLT, ActionScript, CSS, JavaScript, and XML pages.