Can I add a custom attribute to an HTML tag like the following?
You can add, but then you have to write a line of JavaScript code too,
document.createElement('tag');
to make sure everything fall in place. I mean Internet Explorer :)