domJavaScriptDomMediumWhat is the difference between innerHTML and textContent?1innerHTML parses HTML markup; textContent treats content as plain text2They are identical3textContent parses HTML; innerHTML does not4innerHTML only reads, never writesBack to list