HTML validation error: “Non-space character in page trailer”

早过忘川 提交于 2019-12-24 00:52:58

问题


I run a W3C validation on this site.

One of the error is saying this page has "non-space character in page trailer" at source code.

I am not sure where to find the issue.


回答1:


Maintainer of the W3C HTML Checker (validator) here. That “Non-space character in page trailer” error is caused by the “Nibbler” tool you’re using. Use https://validator.w3.org/nu/ directly instead.

https://www.amberaviationacademy.com.au/courses is one of the documents that Nibbler reports that “Non-space character in page trailer” error for.

https://validator.w3.org/nu/?doc=https://www.amberaviationacademy.com.au/courses in contrast shows what the HTML checker reports when you use it directly.

No “Non-space character in page trailer” error is reported when you use the HTML checker directly.

So, Nibbler’s “W3C Compliance” checking is broken and shouldn’t be trusted, but instead avoided.

Save yourself time and confusion and always just use https://validator.w3.org/nu/ directly instead.



来源:https://stackoverflow.com/questions/42568560/html-validation-error-non-space-character-in-page-trailer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!