On 3 Oct 2005, at 5:47 pm, Gunlaug Sørtun wrote:
I do have one question that just came up while I was chatting with a
friend: "Does the hreflang attribute on links do anything, really,
or is it just a cosmetic thing that no browser does anything with?"
(I'm using it on links to materials in Mandarin/Malay to indicate
that the content of those sites/pages is in a language other than
English.)
Not updated for the latest browser-versions, but...
<http://www.w3.org/International/tests/results/link-element>
That list is -unfortunately maybe- quite up to to date. One could add
iCab 3.0 which has a similar 'navigation' bar as Opera and Mozilla to
the list that do something in the UI with some of the link attributes.
The hreflang attribute isn't used by any browser, I think. You can
style it, though, via css2 attribute selectors. Something like this:
a[hreflang]::after {
content: " ["attr(hreflang)"]";
font-style:italic;
color:#6c767f
}
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************