[microformats-discuss] Deprecated XHTML attributes/tags and
Microformats
Tantek Ç elik
tantek at cs.stanford.edu
Fri Jul 22 05:02:31 PDT 2005
On 7/22/05 4:36 AM, "Robert Bachmann" <rbach at rbach.priv.at> wrote:
> Should we try to avoid using deprecated attributes and tags in
> microformat specifications, or must we avoid them?
I think we *should* avoid them, but not *must*.
There may be exceptions (e.g. 'compact' in XOXO) which make sense.
> My specific problem is the notation of the used language:
>
> In HTML 4.01 the lang attribute is used.
> In XHTML 1.0 the lang or the xml:lang attribute may be used, but lang is
> deprecated. In XHTML 1.1 the lang attribute was removed.
AFAIK, the 'lang' attribute is the most broadly interoperably supported
(e.g. for the :lang() selector), and therefore from the perspective of
microformat principle of reusing widely interoperably implemented standards,
IMHO the 'lang' attribute is preferred, though there is a good argument to
be made for using *both* the lang and xml:lang attributes which *must* have
the same value.
Thanks,
Tantek
More information about the microformats-discuss
mailing list