W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2006

Re: Tidy strips <center> tags within <p> tags

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Sun, 01 Oct 2006 14:27:22 +0100
To: html-tidy@w3.org
Message-ID: <451FD04A.27351.27669466@Fred.Bone.dial.pipex.com>

On 30 Sep 2006 at 21:28, Cory Nelson said:

> 
> On 9/30/06, Mike Breiding - Morgantown WV <mike@mbreiding.us> wrote:
> >
> >  Can anyone tell me why Tidy is stripping the <CENTER> tags and how to
> > prevent it?I am using tidy from within NoteTab 4.95
> >  I am not sure what version of Tidy I have but it was downloaded in the
> >  last
> > 8 months and the files size is 304K.
> 
> <center> is not valid within <p>.  Tidy is correcting it, like it was made
> to do.

<center> *is* valid for (X)HTML Transitional, but not for (X)HTML Strict.
Received on Sunday, 1 October 2006 13:29:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:56 GMT