Create custom HTML based on a collection of words