Creating a Custom Snippet

You explored using snippets, the bits of code that are available from Dreamweaver's Snippet panel. You can also create custom snippets out of code that you use repetitively. This can speed up development of your Web pages as well as maintain consistency in your code.

First, create a new snippets folder to hold your custom snippets. Click the New Snippet Folder button, shown in Figure B.1. Give your new folder a name.

Figure B.1. The Snippets panel enables you to store code that can easily be added to your Web pages.

Select the New Snippet button to begin creating a snippet of code to store in the Snippet panel. In the ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.