What are the differences between xhtml 1.0 strict and xhtml 1.1?

xhtml 1.1 - the evolution of xhtml 1.0, right? Therefore, I wonder what are the main differences between them. I used xhtml 1.0 strict for a while, but if there is evolution, I would like to know if there is anything better.

obs: there are a few questions to LOOK LIKE, but most of them concern html versus xhtml or transitional and strict. I hope you do not think this is some kind of duplicate (if so, I could not find it).

thanks.

+4
source share
3 answers

Besides the few language changes defined in @Francois answer, the main difference is technical. XHTML 1.0 was defined in part as an intermediate step to allow web authors to transition from HTML4 to XHTML syntax.

XHTML 1.1 is a reformulation of the language into a series of modules as the basis for the future development of the language by development specialists, which allows various parts to be promoted under separate editors and working groups, each of which is able to advance at its own pace. You can see the same modulation process with CSS 3.

Whether modulation is a good or useful thing or not is a matter of opinion, and there is some evidence that modulation does not work terribly well.

How this happens, with the following XHTML specification, which is being developed as part of HTML5, which is built mainly as a single monolithic specification, and just a few satellite specifications to increase it.

+6
source

Check out the official documentation from the W3C or for your convenience:

This appendix describes the differences between XHTML 1.1 and XHTML 1.0 Strictly. XHTML 1.1 represents a departure from HTML 4 and XHTML 1.0. Most significant is the removal of features that were deprecated. In General, the strategy is to define a markup language rich in structural functionality, but relies on style sheets for presentation.

The differences can be summarized as follows:

In the "a" and "map" elements, the "name" attribute is removed in favor of the "id" attribute (as defined in [XHTMLMOD]).

A “Ruby” collection of elements has been added (as defined in [RUBY]).

+8
source

I was impressed that xhtml 1.0 strict required much more syntax "dot your i cross your t" to check with W3C what I remember. They were simple things, but required a bit more focus on large assemblies to make sure you didn't skip them before checking out.

0
source

All Articles