This page contains the following link
elements. Not all links go to real pages.
Basic test: <link rel="alternate" lang="fr" xml:lang="fr" title="fr, Déclaration universelle des droits de l'homme" type="text/html" hreflang="fr" href="http://www.unhchr.ch/udhr/lang/frn.htm" />
Same URI, but different title: <link rel="alternate" title="fr2, Déclaration universelle des droits de l'homme" type="text/html" hreflang="fr" href="http://www.unhchr.ch/udhr/lang/frn.htm" lang="fr" xml:lang="fr"/>
Use of subtags: <link rel="alternate" title="fr-CH, Déclaration universelle des droits de l'homme" type="text/html" hreflang="fr-CH" href="http://www.unhchr.ch/udhr/lang/frnCH.htm" lang="fr-CH" xml:lang="fr-CH"/>
Same title: <link rel="alternate" title="Declaración Universal de Derechos Humanos" type="text/html" hreflang="es" href="http://www.unhchr.ch/udhr/lang/spn.htm" lang="es" xml:lang="es"/>
<link rel="alternate" title="Declaración Universal de Derechos Humanos" type="text/html" hreflang="es" href="http://www.unhchr.ch/udhr/lang/spn2.htm" lang="es" xml:lang="es"/>
Unrecognized hreflang
: <link rel="alternate" title="qwertyuiop asdfghjkl zxcvbnm" type="text/html"
hreflang="zz" href="http://example.org/zz.html" lang="zz" xml:lang="zz"/>
No hreflang
: <link rel="alternate" title="世界人権宣言" type="text/html"
href="http://www.unhchr.ch/udhr/lang/jpn.htm" lang="ja" xml:lang="ja"/>
Same hreflang
as language of current page: <link rel="alternate" title="Universal Declaration of Human
Rights" type="text/html" hreflang="en" href="http://www.unhchr.ch/udhr/lang/eng.htm"/>
Right to left text: <link title="الإعلان العالمي لحقوق الإنسان" type="text/html" rel="alternate" hreflang="ar" href="http://www.unhchr.ch/udhr/lang/arz.htm" lang="ar" xml:lang="ar"/>
title
attribute?hreflang
attribute?hreflang
attribute, is there a difference in the way the link is handled?Version: $Id: sec-link.html,v 1.7 2004/11/04 20:53:39 rishida Exp $