• korfiati_a

    (@korfiati_a)


    why http: //validator.w3.org gives a lot of mistakes

    for example such –
    Unable to Determine Parse Mode!
    The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
    the MIME Media Type (text/html) can be used for XML or SGML document types
    No known Document Type could be detected
    No XML declaration (e.g <?xml version=”1.0″?>) could be found at the beginning of the document.
    No XML namespace (e.g <html xmlns=”https://www.w3.org/1999/xhtml&#8221; xml:lang=”en”>) could be found at the root of the document.
    As a default, the validator is falling back to SGML mode.

    or

    Line 3, Column 1: no document type declaration; implying “<!DOCTYPE HTML SYSTEM>”
    <html><head><meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>…

    The checked page did not contain a document type (“DOCTYPE”) declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document — instructions for doing this are given above — and it is necessary to have this declaration before the page can be declared to be valid.

    Thank you all for your help

  • The topic ‘validator errors’ is closed to new replies.