The other day, I was watching the Crockford on JavaScript video series, which was in some dark corner of my bookmarks for quite a while.
In the fourth video of the series, entitled “The Metamorphosis of Ajax”, Douglas Crockford talks a bit about HTML and CSS. He says:
..so HTML was not state of the art when it was introduced in the late 20th century. It was intended for simple document viewers and nothing else. It was not intended to be an application platform… The set of tags is much too small for the things that we’re doing.
.. and started (the SGML people) the mythology of Semantic Markup which is essentially impossible in a system in which you cannot make up your own tags in which you are using a set of tags which was designed for simple technical documents and you’re coding things which have no resemblance to technical documents – there is no opportunity for semantic coding in the system as it currently exists – although there is a lot of belief that this is what we should be doing.
Mr. Crockford is actively involved in the development of the JavaScript language, (and a bunch of other stuff). And I must say, he got me into thinking. Even more when he started talking about CSS and its drawbacks as a language. Most of which I have already realized working as a Front-End: Lack of modularity (you cannot be sure two identical boxes will render in 100% the same way as they might interfere with each other, browser implementation which is often very hard to achieve, constant overloading and redefining of properties etc, etc..)