开发者

Jquery mobile data-?

开发者 https://www.devze.com 2023-03-29 11:02 出处:网络
Is data-theme or data-role belong to html5? If it 开发者_运维技巧isn\'t belong html how browser render it without knowing this attribute?

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

精彩评论

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