Javascript innerText
property is used to set or return the inner text content of the targeted element and its descendants without parsing to HTML.
In other words, it returns the inner text content of the selected element as well as its descendent child elements.
Let us see it with the help of an example.
Source Code
document.getElementById('result').innerText='Are you understanding javascript innerText property concept ?';