Q. Which attribute is used in React to give CSS classes?
β
Correct Answer: (B)
className
Explanation: In JSX, 'className' is used instead of 'class' to avoid conflicts with JavaScript reserved keywords.