W3C home > Mailing lists > Public > site-comments@w3.org > May 2001

Inconsistency about h1 and p being block type

From: Rita Bijlsma <bijr@oce.nl>
Date: Tue, 8 May 2001 04:32:38 -0400 (EDT)
Message-ID: <3AF7AF11.C76176F2@oce.nl>
To: site-comments@w3.org

  W3C:  Cascading Style Sheets, level 1
  http://www.w3.org/TR/REC-CSS1#display
  
  Statement that H1 and P are of type block not consistent with
  HTML 4.0 specification, while that specification is referred to:

      ... elements like 'H1' and 'P' are of type 'block'
      ... 
      ... in the HTML specification [2].

  Following the [2] link to the HTML 4.0 Specification:

        <!ELEMENT P - O (%inline;)* 
        ...
        End tag: optional
        ...
        The P element represents a paragraph. 
        It cannot contain block-level elements (including P itself).

        ---  

        !ENTITY % heading "H1|H2|H3|H4|H5|H6">
        ...
        !ELEMENT (%heading;)  - - (%inline;)
    
  
   The endtag of p could not be optional if p were of type block.


-- 
  Rita Bijlsma    BijR@oce.nl    tel: (31) 77 359 4797     loc: 3G.62.3
Received on Tuesday, 8 May 2001 12:23:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:26 GMT