How to Create and Use Dreamweaver Snippets in Dreamweaver 8

Jasmine Starr
Dreamweaver 8 snippets are used by web designers who design and program often. Trust me, being a web designer and designing all day long, these snippets come in handy and save me time. Snippets make it easy for a designer to save lines of code that they use often and reuse it over and over. Dreamweaver 8 also has some snippets already written that you can use. Snippets would be ideal for things like scripts, headers, and footers. But they can be used for all kinds of things. In this guide I'm going to show you how to create a snippet and how to use a snippet. First we'll look at how to create a snippet.


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.

Published by Jasmine Starr

I can do all things through Christ who strengthens me.  View profile

  • Dreamweaver 8 also has some snippets already written that you can use.
  • Snippets would be ideal for things like scripts, headers, and footers.
  • Snippets can save you time if you're designing a big site or use the same code often.
Snippets make it easy for a designer to save lines of code that they use often and reuse it over and over.

6 Comments

Post a Comment
  • Craig12/7/2009

    hey, I have got some already made snippets in a folder and is there any way that I can import them the current list of Dw snippets.Anybody??

  • sharjeel10/14/2008

    Suppose i create one snippet for header and have placed in 50 pages. Next time if i make some modifications on the header part (in snippet) then how it will be affected in all pages or i would have to replace the header code in all those 50 pages?

  • Blair11/12/2007

    Can you share snippets with remote users or like in a shared library?

  • r8/14/2007

    rtyreyrytrrrrr

  • LIN7/30/2007

    ahahahah u guys are gay.


    not eshay.

  • ed10/27/2006

    Great, but.. how to save yousr snippet?

Displaying Comments

To comment, please sign in to your Yahoo! account, or sign up for a new account.