Extends html snippet