JavaScript HTML DOM changing CSS #Part 9
In this article we are lean to how we change HTML CSS using getElementByID.
HTML DOM allows JavaScript to change the style of HTML elements.
Syntax
document.getElementById(id).style.property = 'new style';
HTML and JavaScript Code
Try it Yourself...
what you think about this article ??