W3C home > Mailing lists > Public > www-html@w3.org > May 1998

Re: Lang attribute missing on element HR

From: Ian Hickson <exxieh@bath.ac.uk>
Date: Tue, 12 May 1998 13:57:35 -0400 (EDT)
Message-ID: <007a01bd7dcf$6a2edbc0$d220268a@hpxu>
To: www-html@w3.org, "Martin J. Duerst" <duerst@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:36 GMT