I am developing a system for managing public tenders and I need it to be compatible with as many devices as possible.
In some situations it was necessary to use custom attributes, for example:
<span qtd='20'>Alguma coisa...</span>
In this case, I get the value of qtd through Jquery.attr()
and use it as needed, it works fine in most modern browsers, but the question is:
Is it a good practice? What problems can I have in older browsers?