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:
	> <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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC