equal
deleted
inserted
replaced
50 Accept-Language: da, en-gb;q=0.8, en;q=0.7 |
50 Accept-Language: da, en-gb;q=0.8, en;q=0.7 |
51 |
51 |
52 W3C best practice suggest to surround corresponding text pieces in tag with |
52 W3C best practice suggest to surround corresponding text pieces in tag with |
53 ``lang`` attribute. Attribute values are from BCP 47. |
53 ``lang`` attribute. Attribute values are from BCP 47. |
54 |
54 |
|
55 It is good to set language in ``html`` tag:: |
|
56 |
|
57 <html lang="en"> |
|
58 |
55 http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry |
59 http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry |
56 IANA registered language and country codes. Coherent with ISO codes but |
60 IANA registered language and country codes. Coherent with ISO codes but |
57 frequently updates. |
61 frequently updates. |
58 http://www.ietf.org/rfc/bcp/bcp47.txt |
62 http://www.ietf.org/rfc/bcp/bcp47.txt |
59 Tags for Identifying Languages (Best Current Practice). |
63 Tags for Identifying Languages (Best Current Practice). |