lps 71 Posting Pro in Training

Hi, recently I am taking part in a project which using data-id and data-type to perform script selection.
I had read a few articles regarding the issue 'HTML5 Custom Data Attributes ' including
http://stackoverflow.com/questions/15507354/what-are-the-differences-between-using-data-attributes-and-class-id-for-javasc
I am here asking opinions on the usage of difference in performance, tidyness of code and what so ever consideration of do and don't on usage of 'id', 'class' and 'data-' attributes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.