Page 1 of 2
HTML5 - everyone seems to think its the solution we've been waiting for. But is it? What if we were to think the unthinkable and imagine what a really good web development system would look like?
To quote Marvin the Paranoid android about a Magrathean sunset that Arthur finds magnificent:
"I've seen it. It's rubbish."
While there some very good things in HTML5 both welcome and very overdue this is not the nirvana we are looking for. To see that this is true you just have to sit down and list the sort of facilities developers are looking for when creating an app of any kind and then imagine what HTML5 would look like if it was designed by a programmer.
You need to keep in mind that HTML5 is a mark-up language that was introduced to allow easy page layout. Over the years it has developed, but the page designers and stylists have had more input into what it has become than programmers. We have mostly have had to put up with small additions and modifications that didn't get in the way of keeping things simple.
One of the big changes in thinking about HTML has been its gradual elevation from a mark-up language concerned with the way things look on the page to a semantic markup language concerned with marking the meaning and intended use of a page entity and leaving how things look to CSS. This is a wonderful idea because it means you can change the look of something very easily and impose a central control on presentation.
The first thing to say is that it isn't really a first class language in the same league as Java, C# or C++. So how is it that I'm stuck with it?
The fact that I can't is a good indication of how left out of the development of HTML programming concerns really are.
Where are custom tags?
Let's now look at how we are constrained by the need to maintain the view that HTML/CSS is for design.
New in HTML5 is the Canvas object - can you really believe we have had to wait so long for a basic graphics object?
Why can't I extend HTML with a new custom tag?