Question: Which attribute do you use to replace innerHTML in the browser DOM?

  1. injectHTML
  2. dangerouslySetInnerHTML
  3. weirdSetInnerHTML
  4. strangeHTML

Answer: The correct answer of the above question is Option B:dangerouslySetInnerHTML