3 ms·
HTML5 in general degrades fairly well, with the exception of with browsers which simply don't support CSS at all (e.g. IE5 and below). You're right to say that
by UnoriginalGuy 14y ago
HTML5 in general degrades fairly well, with the exception of with browsers which simply don't support CSS at all (e.g. IE5 and below).
You're right to say that older browsers would ignore the unknown attribute, the problem is that having links broken might degrade that site to a point where it isn't usable.
- DoubleMalt 14y agoBut it would be pretty easy to create a polyfill that attaches onclick handlers to the respective elements. Actually I'm tempted to write one to get this functionality with current browsers. [edit] As Oscar Wild put it: The only way of getting rid of a temptation is to yield to it. https://github.com/webcrofting/href4all https://github.com/webcrofting/href4all
- Torrents 14y agoThat's awesome! From concept to github in a flash. Well done.
- rsanders 14y agoThis would be a pretty easy thing to polyfill, I think.