What is the difference between innerHTML and innerText?

innerHTML – It processes an HTML tag if found in a string.
innerText – It does not process an HTML tag if found in a string

Author: Mahesh

Technical Lead with 10 plus years of experience in developing web applications using Java/J2EE and web technologies. Strong in design and integration problem solving skills. Ability to learn, unlearn and relearn with strong written and verbal communications.