问题
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