• cheers everyone,

    im working on my website (http://hnslatest.com) which is in an early beta or whatsoever state. however ive checked it via the w3c validator and it found following problems/errors:

    No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.

    No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.

    The document was checked using a default “fallback” Document Type

    the theme im using has the needed code in the header.php – i dunno whats wrong?!

    furthermore it shows this problem:

    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=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en”>) could be found at the root of the document.

    TIA, Oliver

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Oliver,

    This is your blog URL

    http://presscut.org.www80.your-server.de/client/hosting/hnslatest/wp/

    Which has 20 validation errors. Any changes you make to your theme will be reflected there. So if you fix something that’s the URL that will reflect your changes.

    The URL http://hnslatest.com is just a primitive HTML FRAME which is loading your blog inside of it. So any changes to your header.php won’t help: that frame wont validate. The HTML lacks the basics (DOCTYPE) to validate.

    If this is due to your hosting provider, then you may want to get a different provider.

    Thread Starter Metzgerr

    (@metzgerr)

    jdembowski,

    thanks for your support. maybe its because im too tired but i simply didnt thought of the forwarding issue with the url.

    i was or still am a bit curious about wordpress: when clicking on a menulink/post the site sometimes does not load correctly, only a white page shows up. so i thought its maybe because of those errors in the opening posts (plus i cant get a sitemap.xml working).

    anyways, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘No DOCTYPE found’ is closed to new replies.