W3C home > Mailing lists > Public > www-validator@w3.org > October 2005

Re: Doctype to use? http://www.swiss-maeder.ch/indextst.html

From: David Dorward <david@dorward.me.uk>
Date: Sat, 08 Oct 2005 09:38:34 +0100
To: "\"Thomas" Mäder" <TMRelay@gmx.ch>
Cc: www-validator@w3.org
Message-Id: <1128760715.7229.3.camel@cyberman.dorward.me.uk>

On Sat, 2005-10-08 at 10:17 +0200, "Thomas Mäder" wrote:
> I edit my website with the very old AOLpress 1.2.2. dated 1996.
> When creating a web page, it does not automatically insert a doctype.
> Since I would like to make my page W3C compatible, I would like to add a
> doctype.
> But any of the doctype produces errors on http://validator.w3.org

Which means that the software doesn't create pages that meet the
specification. To deal with this you will have to repair the HTML it
produces after its generated the page (or switch to better software).

> >>>>>>>>> I really have not idea which doctype to use! Can anybody help me?

HTML 4.01 Strict is generally recommended for new documents.

> Or is there a website with an autocorrect feature?

HTML Tidy <http://tidy.sf.net> will attempt to do some degree of
autocorrection of markup.

The trouble with this (and with using a graphical generator in the first
place) is that software guesswork is unlikely to produce markup the
accurately reflects the semantics and structure of the content. Such
tools, at this at present, make a poor substitute for knowing the
language.

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy
Received on Saturday, 8 October 2005 08:35:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT