What are all the valid DIV attributes?
Based on this link, it appears only class, id, title. Is that correct? Mea
With HTML5, besides using the global attributes which can be used on any element, you can also define your own attributes using the data- attributes.
John Resig on data- attributes
All you have to do is use the HTML5 doctype () and your page will be valid. This doctype works fine even in older browsers.