[Pro] w3c validator language error

Having changed my site to html 5 with FW6 results in a error on the w3c validator. Language meta name: error on both NL and nl.
Any suggestions?

Http://www.appadvies.nl


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The error says that the keyword “language” is not registered. It doesn’t matter what value you set this to, the issue is with the meta tag’s name itself. Try using ‘lang’ instead of ‘language’ as the meta tag name. See more here: Declaring Languages in HTML 5 | Divya Manian

Walter

On Jul 26, 2013, at 12:16 PM, Wimdg wrote:

Having changed my site to html 5 with FW6 results in a error on the w3c validator. Language meta name: error on both NL and nl.
Any suggestions?

Http://www.appadvies.nl


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter, tried it, but no result! Still error. Tried “Lang” and “lang” and “content-lang”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Then try removing the meta tag altogether, and in the Page / Extended dialog, enter a new name/value pair of lang and your language code. Also check what the ISO language code is for NL (which is the country code for The Netherlands, unless I’m mistaken).

Walter

On Jul 26, 2013, at 2:21 PM, Wimdg wrote:

Walter, tried it, but no result! Still error. Tried “Lang” and “lang” and “content-lang”


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I was searching too and it seems to me that in html 5 the language meta tag is no longer supported. Was just underway to post again when your answer came in.
So I use the extended dialog? I thought I could also use the insert markup dialog? Should I insert it on one page or all pages? I think all…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Page/Extended will insert it where it needs to go – inside the opening body tag itself. Page / HTML Markup cannot go there. It gan go before or after that opening tag, but not inside of it as an attribute.

<body lang="en-us">

Walter

On Jul 26, 2013, at 3:25 PM, Wimdg wrote:

I was searching too and it seems to me that in html 5 the language meta tag is no longer supported. Was just underway to post again when your answer came in.
So I use the extended dialog? I thought I could also use the insert markup dialog? Should I insert it on one page or all pages? I think all…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK, clear, thanks for your answers! And… Its The Netherlands.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes, it appears as though the country code for The Netherlands and the language code for Dutch are the same (nl). Not all languages are like that, though. So for future reference, here’s a good guide: ISO 639-2 Language Code List - Codes for the representation of names of languages (Library of Congress)

Walter

On Jul 26, 2013, at 3:35 PM, Wimdg wrote:

OK, clear, thanks for your answers! And… Its The Netherlands.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options