W3C home > Mailing lists > Public > www-validator@w3.org > August 2017

Re: error on validation

From: r12a <ishida@w3.org>
Date: Mon, 14 Aug 2017 19:38:34 +0100
To: www-validator@w3.org
Message-ID: <ef85955f-9b46-5cd3-6647-8555a9ad1e7f@w3.org>
Christine, hard to know exactly what the problem is without seeing the 
code, but if you set the lang attribute value to "gb/en" the browser is 
unlikely to recognise what you mean; you need to set it to "en-GB"

see https://www.w3.org/International/tutorials/language-decl/

I don't see why you shouldn't use en-GB if you are writing British 
English, especially f you want things like spellcheckers to check for 
British English, rather than American spellings.


On 13/08/2017 02:23, Christine Maloney wrote:
> Hello
> The validator suggested that I change the language from gb/en to en 
> (English) however, the American way of doing things in English is 
> different from the GB way so if I add en would that not alter things?
> Thanks
> Christine
> ------------------------------------------------------------------------
> AVG logo <http://www.avg.com/internet-security> 	
> This email has been checked for viruses by AVG antivirus software.
> www.avg.com <http://www.avg.com/internet-security>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Received on Monday, 14 August 2017 18:38:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 14 August 2017 18:38:50 UTC