• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

17. Snippets and Libraries > 17.3. Creating Snippets

Creating Snippets

Dreamweaver comes with a lot of snippets, many of which you may have no use for. No problem—it’s simple to create snippets of your own. Here’s how:

  1. Create and select the code you wish to turn into a snippet.

    You could, for instance, select a table in Design view, or select the opening and closing <table> tags (as well all code between them) in Code view.

    If you make a snippet out of code that isn’t visible in Design view, such as a JavaScript program or content that appears in the <head> of the page, you’ll need to switch into Code view first and then select the code.

  2. Click the New Snippet button on the Snippets tab (Figure 17-1).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint