A

Admin • 833.24K Points
Coach

Q. Which attribute is used to specify inline styles in React?

  • (A) style (with an object)
  • (B) class
  • (C) className
  • (D) css
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

The style attribute takes a JavaScript object with camelCase properties.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.