added key feature in html example