The purpose of this dialog box is to create or edit a code snippet for the Snippets panel.
NOTE |
|
Snippet names cant contain characters that are invalid in filenames, such as slashes(/ or \), special characters, or double quotes ("). |
Insert Before Type or paste the code to insert before the current selection.
Insert After Type or paste the code to insert after the current selection.
To set default spacing for the blocks, use line breaks; press Enter (Windows) or Return (Macintosh) inside the text boxes.
NOTE |
|
Because snippets can be created as start and end blocks, you can use them to surround other tags and content. This is useful for inserting special formatting, links, navigation elements, and script blocks. Simply highlight the content you want to surround, then insert the snippet. |
If you select Design, then Dreamweaver renders the code and shows it to you in the Preview pane of the Snippets panel. If you select Code, then Dreamweaver shows the code in the Preview pane.