<分区>
Possible Duplicates:
Storing arbitrary info in HTML tags for JavaScript?
What are the concrete risks of using custom HTML attributes?
Custom attributes - Yay or nay?
在标准 HTML 元素上添加自定义属性有什么缺点?
例如:
通过添加 MyCustomAttribute,我使文档无效,但实际实现是什么?如果有的话,这会导致什么问题?
我会使用 Javascript 来读取自定义属性的值。
谢谢