Including the contents of your snippet in your code is simplicity itself:
<w:snippet name="my-snippet-name" />
You can also pass a parameter into a snippet by using a two-part (instead of self-closing) snippet tag. For example, if you invoke the snippet like this:
And the snippet definition is this:
<h3>The winner is <w:yield /><h3>
Then the result is the string "The winner is George". Whatever content is between the open snippet and close snippet tags is inserted in place of the
<w:yield /> tag. (Unfortunately, you cannot pass more than one parameter to a snippet.)
Each SmartTheme, which provides the "seed" for a new site, comes with a variety of standard snippets that deliver commonly needed chunks of code.