Checking for Coding Errors

Discussion in 'HTML & Website Design' started by MarkStrobel3367, Jul 10, 2011.

  1. #1
    I am trying to check my site, http://www.strongfamilies.us, for coding errors using http://validator.w3.org. However, this site states the following:

    --------
    No Character Encoding Found! Falling back to windows-1252.

    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 "windows-1252" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.

    Before defaulting to windows-1252 the validator also tried to read the content with the following encoding(s), without success: UTF-8.

    Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.

    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.
    ---------------------

    I read through the tutorial yet I cannot figure out how to add the necessary coding needed for this site to check for errors. If someone could help me with this, I would surely appreciate it. Thanks.
     
    MarkStrobel3367, Jul 10, 2011 IP
  2. sanchyclub

    sanchyclub Well-Known Member

    Messages:
    625
    Likes Received:
    6
    Best Answers:
    2
    Trophy Points:
    105
    #2
    well, you have to read carefully, what they are saying!
    your site have 13 Errors, 14 warning(s)

    In W3C validation result page... they are showing your all errors line by line, like-

    "Validation Output: 13 Errors
    Line 16, Column 182"

    check out your code (Line#16)
    …css" rel="stylesheet" type="text/css" /><link href="/includes/nav.css" rel="st…
    delete that red /
    and check again... this time they will show 12errors.
    that means one error has been fixed!

    you have to ready total result page to clearly understand the way of fixing errors.

    If you are not clear then ask me here... I'll try to help

    cheers,
     
    sanchyclub, Jul 10, 2011 IP
  3. MarkStrobel3367

    MarkStrobel3367 Well-Known Member

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    I found the right character code to use that http://validator.w3.org accepts. However, it seems that this site is giving me a lot of false negative readings. It lists about 114 errors on one page. Many of the errors have to do with the use of < and >. When I remove either of these characters, the whole page goes high-wire. I'm really confused about this validation site!
     
    MarkStrobel3367, Jul 10, 2011 IP
  4. sanchyclub

    sanchyclub Well-Known Member

    Messages:
    625
    Likes Received:
    6
    Best Answers:
    2
    Trophy Points:
    105
    #4
    yes they are right! you have to write &amp; to display and
    you can use w3schools website to learn basic of html/css
    and youtube for video lessons.

    best of luck.
     
    sanchyclub, Jul 11, 2011 IP