RT : Anyway, the reason you have to say className and htmlFor is that React decided to use XML attributes to refer to DOM properties…