NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT: webmaster test

André Pitanga andre at pitanga.org
Mon Apr 14 16:03:35 EDT 2008


Allen Shaw wrote:
> Doesn't correct CSS syntax require a semicolon?
> body {color: black;}
>
> - Allen

Yet, yes, semi-colons are helpful, and one must be aware of their impact 
in certain situations, like error handling, for example:

"User agents must ignore an invalid at-keyword together with everything 
following it, up to and including the next semicolon (;) or block 
({...}), whichever comes first."

-André




More information about the talk mailing list