add html snippet