Skip to main content

Command Palette

Search for a command to run...

HTML : document.getElementById('{ID of element}').innerHTML = '{content}';

Published
1 min read
S

I love learning about technology and sharing that with others

innerHTML

with the innerHTML we can modify the page content without refreshing the page, it will make a website looks faster and quicker.

Example :

document.getElementById('{ID of element}').innerHTML = '{content}';
    document.getElementById('countLessThan6Months').innerHTML = '99+';
2 views

More from this blog

H

hashcodehub

271 posts

Consistent, Passionate and Organized :)