Re: [CSS21] error in a sample code

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

Received on Thursday, 28 February 2013 09:09:31 UTC