HTML has three things: the DOM, the CSS, and the JavaScript.
The DOM part, as specified in the HTML markup language, is declarative.
The CSS part, as specified in the HTML style blocks or included CSS documents or even on a DOM element-by-element basis, is also declarative.
But the JavaScript part of HTML is very much a programming language. And given that it was originally designed to be tiny glue snippets of functionality to handle very simple events that could dynamically modify the (otherwise) static DOM, it is has demonstrated that it has the capability of handling very large and complex web applications.
From its humble roots as a twinkle in Brendan Eich's eye, it has grown and evolved to be a stalwart and ubiquitous web technology.
Back in the battle for the web, where Sun Java, Adobe-nee-Macromedia Flash, and Microsoft Silverlight were battling for the hearts-and-minds of web application development, I don't think anyone would have thought JavaScript would have won that war. But in the end, it turned out to be the little engine that could ... and it did.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
HTML has three things: the DOM, the CSS, and the JavaScript.
The DOM part, as specified in the HTML markup language, is declarative.
The CSS part, as specified in the HTML style blocks or included CSS documents or even on a DOM element-by-element basis, is also declarative.
But the JavaScript part of HTML is very much a programming language. And given that it was originally designed to be tiny glue snippets of functionality to handle very simple events that could dynamically modify the (otherwise) static DOM, it is has demonstrated that it has the capability of handling very large and complex web applications.
From its humble roots as a twinkle in Brendan Eich's eye, it has grown and evolved to be a stalwart and ubiquitous web technology.
Back in the battle for the web, where Sun Java, Adobe-nee-Macromedia Flash, and Microsoft Silverlight were battling for the hearts-and-minds of web application development, I don't think anyone would have thought JavaScript would have won that war. But in the end, it turned out to be the little engine that could ... and it did.