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

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

From: Richard A. O'Keefe <ok@cs.otago.ac.nz>
Date: Mon, 2 Oct 2006 11:52:51 +1300 (NZDT)
Message-Id: <200610012252.k91MqpNd012051@atlas.otago.ac.nz>
To: Fred.Bone@dial.pipex.com, html-tidy@w3.org

Cory Nelson (hope I've got that right) wrote:
				vvvvvvvvvv
	> <center> is not valid within <p>.
			        ^^^^^^^^^^

"Fred Bone" <Fred.Bone@dial.pipex.com> replied:
	<center> *is* valid for (X)HTML Transitional, ...
	
Valid, yes.  But not valid within <p>.
<p> may only contain %inline content,
and <center> is %block level content, NOT %inline content.
Received on Sunday, 1 October 2006 22:53:07 GMT

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