One of the more powerful features of HTML5 is that it allows for user-defined attributes, not just the ones defined by the HTML standard. There is one rule for this however, namely that the attribute must be prefixed with "data-". If you try to create your own attribute without that prefix the browser will simply ignore it.


Example of a custom attribute:


<DIV ID="panel1" data-myvalue="1200">

</DIV>