W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [CSS21] error in a sample code

From: Henrik Andersson <henke@henke37.cjb.net>
Date: Thu, 28 Feb 2013 13:05:30 +0100
Message-ID: <512F480A.5040300@henke37.cjb.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Salim BELHADDAD <info@salym.me>
CC: www-style list <www-style@w3.org>
Tab Atkins Jr. skriver:
> On Wed, Feb 27, 2013 at 3:31 PM, Salim BELHADDAD <info@salym.me> wrote:
>> Hi,
>>
>> I've spotted a minor error in the code located in the CSS 2.1
>> Specification document.
>>
>> Location :
>> 9.2.1.1 Anonymous block boxes
>>
>> Excerpt :
>> <DIV>
>>   Some text
>>   <P>More text
>> </DIV>
>>
>>
>> It seems that the </P> closing tag is missing in the fourth line.
>> Not a big issue but newbies may be misled because of the specific
>> character of this example.
> 
> That's not an error - the closing tag of a <p> element is optional in
> most cases.
> 
> ~TJ
> 
> 
> 
Very true, but people are still going to complain about it. Might as
well include the ending tag.
Received on Thursday, 28 February 2013 12:06:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT