Why it is not advised to use innerHTML in JavaScript?

Submitted by: Administrator
innerHTML content is refreshed every time and thus is slower. There is no scope for validation in innerHTML and, therefore, it is easier to insert rouge code in the document and, thus, make the web page unstable.
Submitted by:

Read Online Expert Developer JavaScript Job Interview Questions And Answers