refined html snippet