Answer & Solution
Answer: Option C
Solution:
The textContent method in JavaScript allows you to change the text content of an HTML element directly. Unlike innerHTML, which changes the HTML content including tags, textContent modifies only the text within the element, making it ideal for text manipulation tasks.