MCQ Answer

Which property is used to set or get the HTML content inside an element?

Which property is used to set or get the HTML content inside an element?

किसी तत्व के अंदर HTML सामग्री को सेट करने या प्राप्त करने के लिए किस प्रॉपर्टी का उपयोग किया जाता है?
Topic : JS DOM Manipulation

A. innerHTML

B. outerHTML

C. textContent

D. value




Correct Answer is :

A. innerHTML



Explanation
The innerHTML property is used to get or set the HTML content inside an element, including nested elements and their content.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz