#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,653
    Rep Power
    171

    Unknown warning from validator.w3.org


    Hello;

    What is this warning for?

    This is the page.

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    57
    Rep Power
    12
    Hi,

    the validator thinks this is HTML5 (because of the DOCTYPE) and tells you not to rely on the results, because HTML5 is still a work in progress.

    But there's actually a bigger issue behind this. You seem to be using XHTML, but this is not valid XTHML. If you fix the DOCTYPE or tell the validator to change the mode, you'll get several errors.
  4. #3
  5. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,653
    Rep Power
    171
    Originally Posted by Jacques3
    Hi,

    the validator thinks this is HTML5 (because of the DOCTYPE) and tells you not to rely on the results, because HTML5 is still a work in progress.

    But there's actually a bigger issue behind this. You seem to be using XHTML, but this is not valid XTHML. If you fix the DOCTYPE or tell the validator to change the mode, you'll get several errors.
    Oh! So basically what goes in the header before <body>? I mean what are the options?

    Thanks
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    Stockholm, Sweden
    Posts
    16
    Rep Power
    0
    Originally Posted by zxcvbnm
    Oh! So basically what goes in the header before <body>? I mean what are the options?

    Thanks
    You'll need to specify the doctype tag as the first element in your document: e.g <!DOCTYPE xxx>

    Google "html doctypes" and you'll find lots of variants.

    Regards,
    Leakz

IMN logo majestic logo threadwatch logo seochat tools logo