Report Bug
Qus : Which of the following is used to change the content of an HTML element?
QusHTML तत्व की सामग्री को बदलने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?

A. element.innerHTML
B. element.value
C. element.content
D. element.innerText


Solution
A. element.innerHTML



Explanation
The innerHTML property allows you to access and change the HTML content inside an element. It's often used to update or replace the content of an element dynamically.



Report Bug