On Sep 1, 2005, at 20:48, Henri Sivonen wrote:

End tag inference

p: p, h1, h2, h3, h4, h5, h6, ol, ul, pre, dl, div, center, noscript, noframes, blockquote, form, isindex, hr, table, fieldset, address

Anne's new design shows that the above list is incomplete. Since paragraphs may appear in definitions, list items and table cells, which themselves may omit their end tags, the list of elements whose start tags closes 'p' needs to also include the elements whose start tag closes dd, li, td and th.

dd: dt, dd
li: li
td: td, th, tr, tfoot, tbody

--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/

Reply via email to