Le 2007-08-12 à 14:20, Benjamin Hawkes-Lewis a écrit :

This might also be an interesting use-case for the ALT element suggested on the public-html list:

<div class="passage">
<p id="p4858" lang="en">Hello</p>
<alt for="p4858 lang="fr"><p>Salut</p></alt>
</div>

That markup looks awfully complicated for the simple use case it's trying to solve.

Wouldn't this be better:

    <alt on="lang">
      <p lang="en">Hello</p>
      <p lang="fr">Salut</p>
    </alt>

?

I've included the "on" attribute assuming <alt> would be able to define alternatives based on something other than the "lang" attribute, although it's not really necessary considering only the current use case.


Michel Fortin
[EMAIL PROTECTED]
http://www.michelf.com/


Reply via email to