πŸ“Š JavaScript
Q. Which method can be used to change the content of an HTML element?
  • (A) innerHTML
  • (B) setAttribute
  • (C) value
  • (D) classList
πŸ’¬ Discuss
βœ… Correct Answer: (A) innerHTML

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

Explanation by: Mr. Dubey
innerHTML allows you to get or set the HTML content of an element.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate