diff --git a/lib/ace/mode/html.js b/lib/ace/mode/html.js
index 0eaf0c1c..d5a4ab64 100644
--- a/lib/ace/mode/html.js
+++ b/lib/ace/mode/html.js
@@ -326,7 +326,8 @@ function findTagName(iterator) {
}
return attributes.map(function(attribute){
return {
- value: attribute,
+ caption: attribute,
+ snippet: attribute + '="$0"',
meta: "attribute"
};
});