What are the concrete risks of using custom HTML attributes?

前端 未结 6 619
别跟我提以往
别跟我提以往 2020-12-09 00:08

This subject turned into a heated discussion at the office, so I\'m interested to learn what you think.

We are working on a web app that only targets some specific b

6条回答
  •  攒了一身酷
    2020-12-09 00:37

    HTML 5 allows custom attributes using a 'data-' prefix, see http://ejohn.org/blog/html-5-data-attributes/

提交回复
热议问题