HTML 5 or XHTML 2?
Vlad Alexander has written an article entitled X/HTML 5 Versus XHTML 2, discussing what he likes respectively dislikes.
Negative Robert
While I think that both specifications are interesting and definitely contain some nice enhancements, I can’t help but think when, and maybe even if, any of these will be ready for prime time. Maybe I’m just jaded, but for sure there will be endless discussions about which will be the best, different implementations in different web browsers and so on, et cetera…
And just add Tim Berners-Lee’s thoughts and the HTML Working Group Charter to that. Does anyone see a happy united best outcome of this?
Positive Robert
Let’s take a look at some goodies mentioned in the article:
XHTML 2
- Any element can contain a
hrefattribute and therefore be a link. Great! acronymis out. Good riddance! Definitely the way to go to have just one element for that purpose.- The
helement and headings sections. Nice! hrreplaced byseparator. Hey, that’s a good name, why didn’t we think of that before (anyone seen code like this before:<hr class="separator" />)?
- The new
roleattribute, to add more semantic meaning to an element. Just take a look at these babies: The XHTML Role Attribute! Fantastic! Well needed!
Web Applications 1.0/HTML 5
- The
dialogelement, for, you guessed it: dialogs! - The perfect element,
figure, for images and its accompanying text. -
Finally, some nice additions to
inputelements and their data types:- URL
- date-related
- time-related
- numeric data
Discussion
What’s your take on this? Does any technology seem more interesting than the other? Is any specification/concept generally better than the other, and why? Or, are you better off as we have it right now, maybe with a slew of Microformats thrown in?
Both I and Vlad would sincerely appreciate your input on this, and your thoughts and hopes for the future of the web!
















