How to Insert a Code Snippet

You can quickly insert a code snippet that you've created or one that's provided by Microsoft® Expression® Web, while working in the Code view of a web page or other file.

To insert a code snippet
  1. In Code view, in your web page, or other file into which you want to insert the code snippet, put your cursor where you want to insert the code snippet, and then do one of the following:
    • Press CTRL+ENTER.
    • On the Edit menu, point to IntelliSense, and then click List Code Snippets
    • On the Code View toolbar, click the List Code Snippets button. List Code Snippets button
  2. In the list of code snippets, do one of the following.
    • Type the keyword for the code snippet, and then press ENTER or TAB to insert it.
    • Select the code snippet you want to insert, and then press ENTER or TAB to insert it.
    • Double-click the code snippet you want to insert.