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.

Related questions

0 votes
asked Sep 17, 2023 in Angular by DavidAnderson
0 votes
asked Sep 19, 2021 in JavaScript by sharadyadav1986
...