W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

Re: HTML proprietary, what DOCTYPE?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 25 Feb 2004 04:19:08 +0100
To: "Nicole Anson" <info@valuedesign.ca>
Cc: <html-tidy@w3.org>
Message-ID: <405f127b.196635807@smtp.bjoern.hoehrmann.de>

* Nicole Anson wrote:
>Tidy keeps saying: Document content looks like HTML proprietary
>I looked for days but can’t find what DOCTYPE I should put in.

The problem here is that you use markup that is not allowed in any W3C
defined document type. For example the <marquee> element is not defined
by W3C, it is a proprietary extension, hence Tidy will report any
document containing the <marquee> element as HTML proprietary. Tidy
should also tell you what is wrong with your document, e.g.

  line 1 column 1 - Warning: <marquee> is not approved by W3C


  line 1 column 1 - Warning: <body> proprietary attribute "topmargin"

>I tried the 4.01 transitional, loose but W3 keeps saying that is not correct.
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

It would be helpful if you tell us what the Validator is complaining
Received on Tuesday, 24 February 2004 22:19:05 UTC

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