Enumerations are lists of value/label pairs (lists of constants for values). Enums make code more readable. You can use an enumeration type as formal function parameter to allow only values of the enumeration passed in (other values throw an error).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.