HTML CSS Reference/HTML Attributes Reference/hreflang — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:20, 26 мая 2010
Содержание
"hreflang" Example
<HTML>
<head><Title>Example For hreflang</Title></head>
<BODY>
<a href="http://www.wbex.ru" hreflang="en-us">
</BODY>
</HTML>
hreflang is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <link> |
+----------------+--------------------------------------------------------------+
hreflang Possible Values
Possible Values
Common Language Codes
Code Language
ca Catalan
is Icelandic
cs Czech
it Italian
da Danish
ja Japanese
nl Dutch
ko Korean
en English
lv Latvian
en-us English (USA)
lt Lithuanian
en-gb English (G.B.)
no Norwegian
fi Finnish
pl Polish
fr French
pt Portuguese
fr-be French (Belgium)
ro Romanian
de German
ru Russian
de-at German (Austria)
es Spanish
el Greek
es-ar Spanish (Argentina)
he Hebrew
sv Swedish
hi Hindi
sv-fi Swedish (Finland)
hu Hungarian
tr Turkish
"hreflang" Syntax and Note
Note:
Sets the base language specified in the href attribute.
Use it only in href element.
Syntax:
<element hreflang="value"> . . . </element>