W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Unknown message running Tidy

From: Peter Evans <evans@i.hosei.ac.jp>
Date: Thu, 09 Nov 2000 18:34:07 +0900
To: html-tidy@w3.org
Message-Id: <20001109182548.FBCA.EVANS@i.hosei.ac.jp>
> Running Tidy over an HTML-document i get sometimes the following

>>Tidy (vers 30th April 2000) Parsing "tmp.htm"
>>line 49 column 1 - Warning: html doctype doesn't match content

>>"tmp.htm" appears to be HTML proprietary
>>1 warnings/errors were found!

> What is the cause for this message?

One possibility is that you use a tag that doesn't belong to HTML as
defined in the DTD to which the doctype declaration points, e.g.:

I don't want <nobr>these words</nobr> broken

Or that the tag itself is OK but the attribute isn't, e.g.:

<table bordercolordark="blue">

You might want to run the offending page through
http://htmlhelp.com/tools/validator/ to see what it says about the
troublesome line.

Peter Evans mailto:evans@i.hosei.ac.jp
Received on Thursday, 9 November 2000 04:40:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC