className / htmlFor
Also written: className, htmlFor
The JSX spellings of the HTML attributes `class` and `for`, used because those two words are JavaScript keywords. Most other attributes are camelCase, such as `tabIndex`.
Also written: className, htmlFor
The JSX spellings of the HTML attributes `class` and `for`, used because those two words are JavaScript keywords. Most other attributes are camelCase, such as `tabIndex`.