What is "data-icon" in HTML5 and how can I use it? If you know any source where I can read more about it, please let me know. Thanks.
data- attributes are attributes for private use. I.e., anybody can make up any data- attribute and do with it whatever he wants. I suppose you came across this as part of jQuery mobile's markup for icons on buttons.
data-
2.1m questions
2.1m answers
60 comments
57.0k users