4 ms·
http://www.w3schools.com/jsref/prop_html_classname.asp http://www.w3schools.com/jsref/prop_html_classname.asp
by Nogs 11y ago
http://www.w3schools.com/jsref/prop_html_classname.asp http://www.w3schools.com/jsref/prop_html_classname.asp
- marcusarmstrong 11y agoSure. But that's different than <div className="blah">.
- smhg 11y agoNot much. These are actually the Web API attribute names you should use when accessing these attributes from a non-HTML language (e.g. JavaScript). The React folks didn't make them up.
- smhg 11y agow3schools might have gotten a bit better lately, but please use MDN as a reference: https://developer.mozilla.org/en-US/docs/Web/API/Element/className https://developer.mozilla.org/en-US/docs/Web/API/Element/cla... They offer so much more context.
- deleted 11y ago[deleted]