
3.64. Create the new snippet in the Snippet dialog. [View full size image] 5. When you finish editing the Snippet dialog, click OK. The new snippet appears in its folder and the preview pane will display the HTML. To use the snippet, simply drag the snippet into the code environment and choose Preview In Browser (or press F12) to test the results. Editing, moving, and deleting snippets are also a snap. To edit a snippet, right-click the snippet and choose Edit from the context menu. The Snippet dialog appears, and you can edit the code or change the description. To move snippets into other folders, drag them to the folder you want. To delete a snippet or its respective folder, right-click the snippet (or folder) and press the Delete key. Summary As you have seen, building web pages in Dreamweaver is extremely intuitive and quick to pick up. Flanked by key panels and inspectors, building web pages in Dreamweaver is merely a matter of dragging and dropping objects onto the development environment and formatting attributes using the Properties Inspector, the Tag Inspector, and so on. This introductory chapter opened a whole new world to some important features within Dreamweaver and should serve as a foundation for future development. In the next few chapters, we'll step away from development for a bit and discuss arguably one of the most important topics as it relates to Dreamweaver, site management. Chapter 4. Dreamweaver Site Management IN THIS CHAPTER The Importance of Defining Sites in Dreamweaver Defining a New Site in Dreamweaver The Site Definition Window Managing a Website in Dreamweaver The Site Panel Site Management Options Advanced Site Management Options In the previous chapter, you learned how to build a simple web page in Dreamweaver. Some of the more notable concepts you learned were page formatting, images, and linking. Although it seems obvious that Dreamweaver's sole purpose is to create web pages, truthfully, any web page editor can provide a developer with this functionality. What truly makes Dreamweaver unique and powerful at the same time are features and functionality built into its framework for managing your web pages, and more importantly, your websites. Site management you ask? Arguably the most important aspect of Dreamweaver, regardless of version, is site management. Site management, which is the process of administering websites within the framework of Dreamweaver, affords developers many benefits, including the ability to change website links across an entire site, check for and fix