[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: <li>, <del> and the HTML 4 DTD (was: Re: RFD: amendment of Debian Social Contract)



Richard Braakman:

> The +(INS|DEL) part means that INS and DEL can occur anywhere in
> a BODY or its children.

Yes, but they can only contain block or inline content, of which LI is
neither. UL can contain an INS, yes, but an INS cannot contain an LI.

validator.w3.org has validates using the SGML definition. For a LI
contained in an INS (<ul><ins><li>), it says (for HTML 4.01 strict):

  document type does not allow element "LI" here; missing one of "UL",
  "OL" start-tag

-- 
\\//
Peter - http://www.softwolves.pp.se/
  I do not read or respond to mail with HTML attachments.



Reply to: