A code snippet is a piece or script of HTML, ASP, JavaScript or web
langue code. Web developers normally have hundreds of these scripts that
they keep handy to insert into there projects. FrontPage makes adding
these "Code Snippets" easy.
As an example I demo a piece of code I use all the time. The on
history back button.
First let create the code snippet.
Go to >Tools >Page Options and select the tab >Code Snippets.
>Click Add, then type in a keyword "Back Button", enter a
description, History go back 1, now copy and paste the code below
into the code box.
Note: the "pipe" character is normally located on the same key as
the \. I have already added it below.
Your Code Snippet view should now look like this:
Now open a web page in FrontPage and select a spot on the the
page where you want the back button. Then switch to code view and
hit your Ctrl + Enter keys.
Locate the Back keyword and double click it.
FrontPage inserts your code!
You are now free to customize the button any way you want using the
design mode. You can also copy and paste your button in design mode.