Modifying HTML Content and Attributes

What's the difference between the two assignments in this code?
const element = document.querySelector('#myElement');
element.innerHTML = '<p>New content</p>';
element.textContent = '<p>New content</p>';
Next Question (4/20)