Go4Expert (http://www.go4expert.com/)
-   Website Monetization (http://www.go4expert.com/forums/website-monetization-forum/)
-   -   HTML Validator Warnings (http://www.go4expert.com/forums/html-validator-warnings-t18727/)

naimish 28Jul2009 15:32

HTML Validator Warnings
I am validating my HTML code through HTML Validator.

It's giving me below warning and no error, How to resolve this warnings ?
  1. <LI class=msg_warn id=W04> No Character Encoding Found! Falling back to UTF-8.
    None of the standards sources gave any information on the character encoding labeling for this document. Without encoding information it is impossible to reliably validate the document. As a fallback solution, the "UTF-8" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.
    Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.
  2. No Character encoding declared at document level
    No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.
    See this tutorial on character encoding for techniques and explanations.

naimish 28Jul2009 15:41

Re: HTML Validator Warnings
Hey Thanks, got it resolved. Just added below to the meta tags.


<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

All times are GMT +5.5. The time now is 12:28.