W3C home > Mailing lists > Public > www-style@w3.org > March 2004

Re: CSS 2.1 editorial

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 10 Mar 2004 13:12:34 +0000 (UTC)
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Cc: www-style@w3.org, Bert Bos <Bert.Bos@sophia.inria.fr>
Message-ID: <Pine.LNX.4.58.0403101311060.27969@dhalsim.dreamhost.com>

On Sun, 29 Feb 2004, Elliotte Rusty Harold wrote:
> I know some people prefer single quotes and some prefer double, but
> perhaps it would be nice to just pick one? Using both in the same
> sentence ("style"... 'clip') is just plain confusing. I kept thinking
> there must be some difference between these two that explains this
> usage, but if there is I can't see it.

Attributes use double quotes and properties use single quotes. This is an
unwritten (well, it was unwritten up to now) convention used by
surprisingly many people.

Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 10 March 2004 08:12:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:27 GMT