- From: David Dorward <david@dorward.me.uk>
- Date: Sat, 29 May 2004 06:58:22 +0100
- To: Geoffrey Sneddon <geoffers@geoffers.uni.cc>
- Cc: www-validator@w3.org
On Sat, 2004-05-29 at 01:24, Geoffrey Sneddon wrote: > If you document is valid XHTML Strict, it gives you this code: > Which wouldn't validate, this is stupid, you get code for your page > being valid, but the code you are given isn't... There is nothing invalid about that fragment of code ... http://validator.w3.org/check?uri=http%3A%2F%2Fdorward.me.uk%2Ftmp%2Fvalid.xhtml ... so presumably you are trying to put it somewhere where paragraphs are not allowed (such as inside another paragraph). Equally the same code with out the <p> and </p> tags would be a valid fragment of XHTML - but if you put it as a child element of <body> it wouldn't validate (because the <body> element accepts block elements as its children) if you are using a Strict DTD. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Received on Saturday, 29 May 2004 01:59:54 UTC