开发者

Jquery mobile data-?

Is data-theme or data-role belong to html5? If it 开发者_运维技巧isn't belong html how browser render it without knowing this attribute? Can I add a new attribute to html document and say browser "render this like that" ?


This link is telling that:

data- attributes are a wonderful new feature of HTML5 that let you add any attributes you like to an element. All you have to do is start your attribute name with the data- prefix.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜