Menu
Is that true the standard HTML tag allows a customerized attribute?
For instance:
<input id=”test” description=”abc”…
Actually, I saw the codes in working.
var desc = document.getElementById(“test”).getAttribute(‘description’);
…
…
And it is working in a live application. But I just want to confirm if a standard HTML tag allows a customerized attribute in it?
Thanks
Scott
Obviously the description is NOT an attribute for <input tag.