什么是html5中的数据图标? [英] what is data-icon in html5?
本文介绍了什么是html5中的数据图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是HTML5中的数据图标,我该如何使用它?如果你知道任何我可以阅读更多信息的来源,请告诉我。谢谢。
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 a>是属性供私人使用。即,任何人都可以组成任何数据 -
属性,并随心所欲地做任何事情。我想你是通过 jQuery手机的图标标记按钮。
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.
这篇关于什么是html5中的数据图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文