Example: "The Web developer saved the form as an HTML snippet so he could use it in several different Web pages."

A snippet is a small block of source code or text that can be inserted into a program or Web page. Program snippets typically contain basic functions, while HTML snippets often contain tables, forms, or other HTML data. Some snippets may be included with software development packages, but they can also be created by the programmer. Snippets can save developers a lot of time by allowing them to reuse the same block of code in multiple places.

Updated: January 25, 2009

Definition from the PC Glossary