Friday, May 12, 2017

How to use inner HTML?

To access an HTML element, JavaScript can use the document.getElementById(id) method.
The id attribute defines the HTML element. The innerHTML property defines the HTML content:

No comments:

Post a Comment