1 to 13 of 13
You can do XHTML5 too...
Potted history, probably riddled with inaccuracies, but I think this about covers it:
As an addendum to my last point: you could embed HTML5 in XHTML if you were (as I put it) pandering to your XHTML sensibilities by closing tags and wrapping attributes properly -- so long as you weren't using any of the new tags.
HTML5 has no moral superiority over XHTML, in many ways it's the other way around, HTML5 is just a pragmatic and forward thinking approach to marking up web-based documents.
I think one of the interesting things about XHTML -- and one of the reasons HTML5 is now becoming popular amongst the same people that championed XHTML -- was that it showed that even when you prioritise semantics and standards, it's still quite possible to end up with non-semantic, tag-soup. How many arguments have been had about how to mark up a navigation, or whether we should use standard IDs/Classes for footers/headers, or how to semantically embed video/audio, Javascript hacks, etc. While it certainly made things better, it didn't really achieve the goal of turning web-documents into semantically rich, workable docs. HTML5 probably won't achieve that either, but it's certainly the first time that web-markup has had a chance to look forwards rather than just try and correct the mistakes of the past, which can only be a good thing.
The thing I like about HTML5 is that it's more overtly focussed on the web (---) and gives more semantically meaningful elements
It's interesting - I prefer XHTML syntax as it's easier to see how tags are nested and forces you to be more diligent in that regard with closing off tags etc.
The thing I like about HTML5 is that it's more overtly focussed on the web (as opposed to trying to be a more abstract markup language for any occasion) and gives more semantically meaningful elements to use, but it will be interesting to see how the notion of the "web" evolves with new devices hitting the market, and whether that opens up new semantic contexts and requirements.
I'm just hoping designers don't get too fond of marking up documents with caps lock on. Shudder.
1 to 13 of 13