JavaScript innerHTML

Javascript innerHTML property is used to set or get the inner HTML of the specific element.

Let us understand it with the help of an example.

Source Code

            const elem = document.getElementById("result");
Try it now

Web Tutorials

javascript innerHTML
Html Tutorial HTML
Javascript Tutorial JAVASCRIPT
Css Tutorial CSS
Bootstrap 5 Tutorial BOOTSTRAP 5
Bootstrap 4 Tutorial BOOTSTRAP 4