Q. Which method can be used to change the content of an HTML element?
β
Correct Answer: (A)
innerHTML
Explanation: innerHTML allows you to get or set the HTML content of an element.