0 votes
in JavaScript by
How are innerText and innerHTML different?

1 Answer

0 votes
by

innerText – innerText does not process an HTML tag if it is found within a string.

innerHTML – innerHTML processes an HTML tag if it is found within a string.

...