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

Re: 4.01 validation inconsistency re: <p> in HTML 4.01

From: Philip TAYLOR [PC87S-O/XP] <P.Taylor@Rhul.Ac.Uk>
Date: Mon, 23 Feb 2004 18:23:14 +0000
Message-ID: <403A4512.78711BF5@Rhul.Ac.Uk>
To: David Dorward <david@dorward.me.uk>
Cc: "Newman, Chuck" <chuck.newman@hp.com>, www-validator@w3.org

I understand both the questioner's and the responders points,
but what is less clear is why the validator proposes the use
of <P> tags at all; surely the recommendation to insert code
would be less likely to cause errors and/or confuision
if it restricted itself to  recommending solely the <IMG ...> 
tag with a caveat about "in a suitable context" ?

Philip Taylor, RHBNC
--------
David Dorward wrote:
> 
> On Mon, 2004-02-23 at 17:48, Newman, Chuck wrote:
> [The validator said:]
> >         This Page Is Valid HTML 4.01 Transitional!
> > ...and stated that I could add the following HTML to the page.
> ...
> > I did so, and then the page would no longer validate -- it complained
> > about the <p> directive.
> 
> Then you probably tried to add the code to a section of HTML which can
> not contain paragraphs, most likely within an inline element such as
> <font>.
> 
> I don't think its the responsibility of the validator to provide
> instruction on where paragraphs are allowed in HTML documents.
> 
> --
> David Dorward                                 <http://dorward.me.uk/>
Received on Monday, 23 February 2004 13:24:26 GMT

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