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

Re: [VE][79] New Error Message Suggestion

From: David Dorward <david@dorward.me.uk>
Date: Thu, 27 May 2004 18:57:56 +0100
To: John Hayes <john@hayesis.com>
Cc: www-validator@w3.org
Message-Id: <1085680676.7562.10.camel@localhost>

On Thu, 2004-05-27 at 13:34, John Hayes wrote:
> Line 35, column 55: end tag for element "P" which is not open
> 
> <P><CENTER><I>Séminaires / Groupes / CE</I></CENTER></P>
> 
> Where is the problem?

<p> can contain only inline content.
<center> is a block.
Thus <p><center> is equivalent to <p></p><center> and there is no open
<p> when you have your </p>

At least, that's the syntax problem.

It looks like you are using <p>, <center>, and <i> as a substitute for
<h3> (or some other level heading) along with a style sheet:

h3 {
  font-size: 100%;
  text-align: center;
  font-style: italic;
}

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Thursday, 27 May 2004 13:57:53 GMT

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