Re: Bug report and ideas

I think it was about having several empty paragraphs in a row. The HTML
specification says the following on the topic:

We discourage authors from using empty P elements. User agents should ignore
empty P elements.

HTML 4.01 - Paragraphs, Lines and Phrases - 9.3.1 -
http://www.w3.org/TR/REC-html40-971218/struct/text.html#edef-P

cheers

Charles McCN

On Wed, 21 Mar 2001, Frédéric G. MARAND wrote:

  You seem to imply this is improper, and this is something I generate all the
  time. Is there a normative reference stating it should not be done ?

  Check some examples at
   http://www.osinet.fr/code/prix.asp?CodeMarque=NOKIA
   http://www.osinet.fr/code/glo.asp?Initial=S#SCSI
  for instance. The XHTML validator does not seem to complain about this
  particular issue, and Amaya displays these correctly on the few pages not
  having other types of errors (I've removed the complete XHTML compliance for
  the time being: too busy adding new content to validate it).

  Also, this code:
  -------------
  <td valign="top" class="main" width="59%">
  <div class="item" id="a20010319">
  <h2 [...]</h2>
  <p>[...]
  -------------

  is on the W3C home page, which seems to imply there is nothing wrong with
  such use of paragraphs within a <td>. They even add divs within the <td>.

  > > a°) Build an 10, 10 table. Go to the first cell and try to do several
  > > line.
  >
  > You inserted several paragraphs in a cell?
  [...]


-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)

Received on Wednesday, 21 March 2001 04:55:22 UTC