A

Admin • 833.24K Points
Coach

Q. Which method can be used to change the content of an HTML element?

  • (A) innerHTML
  • (B) setAttribute
  • (C) value
  • (D) classList
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

innerHTML allows you to get or set the HTML content of an element.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.