How to Create and Use Dreamweaver Snippets in Dreamweaver 8
To create a snippet, follow these steps.
Open your Dreamweaver 8 program to begin.
Step 1 – Click Windows / Snippets. The snippets window will open. (you will see the snippets that dreamweaver has already made)
Step 2 – Find the text or code that you wish to turn into a snippet and highlight it.
Step 3 – Down at the bottom of your snippet window you will see a plus sign icon, click on that to add a new snippet.
Step 4 – A dialog box will appear. Type in the name of your snippet and a description.
Step 5 – Choose your snippet type.
Step 6 – Choose code or design. This gives you the option of how you want to preview it in the snippet window.
Step 7 – Once you are done with that click ok.
That is all there is to creating snippets.
To use snippets, follow the steps below.
Step 1 – With your snippet window still open, place your cursor on your page where you want the snippet to be inserted.
Step 2 – In the snippet window find the snippet that you wish to install and double click on that snippet to insert it into your page.
And that is all you have to do to create and use dreamweaver 8 snippets. It is very simple and can save you time if you’re designing a big site or use the same code often. Snippets also come in handy when using php, java, or something along those lines to make counters, forms, etc.