What Are All Of The Inline-js Attributes New In Html5?
I need a list of all of the attributes that can accept inline JS. (yes, I would count the href tag as such an attribute due to the javascript: ability). I have been googling around
Solution 1:
As far as I'm aware, there are no new attributes which accept javascript: protocol (such as href) or inline JS outside of event handlers. However, HTML5 has introduced many new event handlers (on[click,mouseenter,mouseleave,etc] -- these are not new however, just examples).
I hate to beat a dead horse here... but, everything you've found is hitting the nail on the head -- try to avoid inline JS.
Solution 2:
Why use an out-dated technique on blistering new technology?
Old inline js still works on all html5 elements: HTML4 inline on HTML5 element but DONT!
Event the new html5 events work inline http://www.w3schools.com/html5/html5_ref_eventattributes.asp
Post a Comment for "What Are All Of The Inline-js Attributes New In Html5?"