Web Design Tutorials & knowledge
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment