HTML Validator Warnings

Discussion in 'Website Monetization' started by naimish, Jul 28, 2009.

  1. naimish

    naimish New Member

    Joined:
    Jun 29, 2009
    Messages:
    1,043
    Likes Received:
    18
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Location:
    On Earth
    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>[​IMG] 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. [​IMG] 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.
     
  2. naimish

    naimish New Member

    Joined:
    Jun 29, 2009
    Messages:
    1,043
    Likes Received:
    18
    Trophy Points:
    0
    Occupation:
    Software Engineer
    Location:
    On Earth
    Hey Thanks, got it resolved. Just added below to the meta tags.

     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice