[Pro] W3C validation help!

Normally my site passed the w3c validation, but now there is an error I can not find the solution for. Is there anyone who has an idea how to solve this?

This is the outcome from the w3c validator:
Line 108, Column 6: document type does not allow element “BODY” here

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements – such as a “style” element in the “body” section instead of inside “head” – or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML’s rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link” in the “head” section of a HTML document may cause the parser to infer the end of the “head” section and the beginning of the “body” section (where “link” and “meta” are not allowed; hence the reported error).

Http://www.appadvies.nl


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

You have added the Plus One script in the After section rather than the Before section of the Page / HTML Markup dialog. Cut it out of the former and into the latter, and your page will validate.

Walter

On Jul 6, 2013, at 2:52 PM, Wimdg wrote:

Normally my site passed the w3c validation, but now there is an error I can not find the solution for. Is there anyone who has an idea how to solve this?

This is the outcome from the w3c validator:
Line 108, Column 6: document type does not allow element “BODY” here

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements – such as a “style” element in the “body” section instead of inside “head” – or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML’s rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link” in the “head” section of a HTML document may cause the parser to infer the end of the “head” section and the beginning of the “body” section (where “link” and “meta” are not allowed; hence the reported error).

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

Walt, now I am confused a bit. Is that a script which should have been added by using the ‘add html markup’ command or through a action? And what exactly is connected with the Plus One script. I think it is something I do not use anymore and apparently I forgot about it. So… How is the script added, what does it do? Do I need it and how can I remove it?


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

Look in the Page / HTML Markup dialog, and look in the After section of that dialog. There will be a blob of JavaScript there, and that’s the culprit. Any Action would have the sense not to put any code between tags. This is a simple mistake, it’s easy to choose After instead of Before , and that’s what it looks like from here is what happened.

Walter

On Jul 6, 2013, at 3:08 PM, Wimdg wrote:

Walt, now I am confused a bit. Is that a script which should have been added by using the ‘add html markup’ command or through a action? And what exactly is connected with the Plus One script. I think it is something I do not use anymore and apparently I forgot about it. So… How is the script added, what does it do? Do I need it and how can I remove it?


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

It could also be in the Before section, although technically that’s precisely the same thing as After .

Walter

On Jul 6, 2013, at 7:03 PM, Walter Lee Davis wrote:

Look in the Page / HTML Markup dialog, and look in the After section of that dialog. There will be a blob of JavaScript there, and that’s the culprit. Any Action would have the sense not to put any code between tags. This is a simple mistake, it’s easy to choose After instead of Before , and that’s what it looks like from here is what happened.

Walter

On Jul 6, 2013, at 3:08 PM, Wimdg wrote:

Walt, now I am confused a bit. Is that a script which should have been added by using the ‘add html markup’ command or through a action? And what exactly is connected with the Plus One script. I think it is something I do not use anymore and apparently I forgot about it. So… How is the script added, what does it do? Do I need it and how can I remove it?


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


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

Thanks Walter,
Found it, removed it, because it was the Google plus button, which no one ever used on my site.


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