define snippet
Definition of snippet for English Language Learners. : 1  a small piece of information or news. : 2  a small part of something (such as a piece of music, a conversation, etc.)
snippet (plural snippets) 1  A small part of something, such as a song or program; sample. From the snippet I heard of their rehearsal, they sound pretty good. ( 2 computing) a textfile containing a relatively small amount of code, useless by itself, along with instructions for inserting that code into a larger codebase.