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

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

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 24 Feb 2004 07:15:05 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0402240710260.29054@korppi.cs.tut.fi>

On Mon, 23 Feb 2004, Philip TAYLOR [PC87S-O/XP] wrote:

> 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;

Apparently because the inserted code might be made a child of <body>
in a Strict document. And many people think that a <p> element is somehow
more structured than a <div> element. Which is true of course; it's just
(somewhat debatably) wrong structure here - it means using <p> as a
universal container of text, not as paragraph markup.

> 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" ?

But since the inclusion of the tag is worse than pointless anyway,
isn't it suitable that the advice is given confusingly?

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 24 February 2004 00:15:08 GMT

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