Re: Lang attribute missing on element HR

Martin said:
>Also, you might have come accross the problem that you cannot
>give different "lang" attributes to different attributes of the
>same element.

This is something I did think of, but actually I have never come across the
problem in the 'real world'. Theoretically, I suppose one could encounter it
when using the title attribute to include a translation, or when citing a
french source which included english text, as in:

<BODY lang=fr>
...
<Q CITE="Un livre fran&ccedil;ais avec en passage anglais" lang=en>Hello</Q>

However, IMHO this happens rarely enough to make the issue moot. You could
always do the above like this:

<BODY lang=fr>
...
<Q CITE="Un livre fran&ccedil;ais avec en passage anglais"><span
lang=en>Hello</span></Q>

--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12   Info: www.geekcode.com
GIT/M/S d->-- s+: a--->? C++(+++)>$ U>*++++ P L+>+++++ E(+)>+++ W+++ N(+) o?
K? w@ O- !M V- PS+ PE- Y+ PGP>+ t 5+++>++++ X- R+(+++) tv b++(+++) DI++
D++(---)>++++ G>+++ e(*)>+++++ h!()(--) !r y?
------END GEEK CODE BLOCK------

Received on Wednesday, 13 May 1998 03:01:11 UTC