New XHTML 2 Draft (July 28, 2006)
Yesterday, the latest working draft of XHTML 2.0 was released. Oh my, what would I give to live in the future - like in 5-10 years from now. In a paradise for every web developer where XHTML 2.0 was the common standard and all browsers support it…
Ok, enough of that
day night dreaming. Here are the “Major Differences with XHTML 1” I’m most looking forward:
- Images in every element - no need for fancy image replacement!
- Any element can serve as a link. Very nice! That way you won’t have to use something like
<li href="...">...</li>will do it.
- Navigation lists
- Last but not least the
roleattribute. That will be a good replacement for semantic classes such as
<p class="note">at least if all browsers support CSS 2 selectors (