Anvandbart.se. Startsida.

Hur länkar till andra språkversioner bör kodas

2 Nov 2006

Use ‘rel’ and ‘hreflang’ for translations. Links to alternate language versions should use rel=“alternate” and e.g. hreflang=“es” for the Spanish version. The alternate rel value signifies an alternate version of the current page, and hreflang signifies the language of the page at the href (in contrast to the lang attribute which signifies the language of the contents of the element.).

8 steps to serving better (X)HTML

Post new comment

The content of this field is kept private and will not be shown publicly.