W3C home > Mailing lists > Public > www-validator@w3.org > September 2004

Re: [VE][108] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Tue, 21 Sep 2004 16:26:58 +0100
To: Arno <arno@poetryin-e-motion.com>
Cc: www-validator@w3.org
Message-ID: <20040921152658.GA4357@us-lot.org>

On Tue, Sep 21, 2004 at 05:26:52PM +0300, Arno wrote:
> And another question: am I supposed to put the DOCTYPE on every single page
> of my site?

Yes

> I have have a website which has over 200 files. It'd be a real job to add
> the line to every page...

It is less of a job if you write to the standard from the outset, or
if you use some form of templating tool to generate your documents.

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>    "http://www.w3.org/TR/html4/loose.dtd">

You use a <frameset>, this only appears in the frameset DTD, so that
is the DTD you should use.

http://www.w3.org/QA/2002/04/valid-dtd-list.html

> <FRAMESET COLS="*,450,*" SCROLLING="NO" BORDER="0" FRAMEBORDER="0"

The HTML 4.01 specification <http://w3.org/TR/html4/> includes, IIRC,
a skeleton frameset document you could base yours on, however in the
vast vast (etc n^100 times) number of cases, frames are not a good
solution to the problem.

<http://www.allmyfaqs.com/faq.pl?Problems_with_using_frames>

> <NOFRAMES>Your browser doesn't support frames<BR>
> </NOFRAMES>

As alternative content goes, this is not very helpful... or
accurate. Several browsers support frames while allowing the user to
turn them off.

-- 
David Dorward                                      http://dorward.me.uk
Received on Tuesday, 21 September 2004 15:27:00 GMT

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