W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2002

Re: XHTML and attribute quoting

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 03 Jul 2002 08:17:30 +0900 (JST)
Message-Id: <20020703.081730.41632247.mimasa@w3.org>
To: bobhurt@cac.washington.edu
Cc: www-html-editor@w3.org

Bob Hurt <bobhurt@cac.washington.edu> wrote:

> the XHTML 1.0 specs at http://www.w3.org/TR/xhtml1/ are not specific enough in
> regards to item 4.4, 'Attribute values must always be quoted'.  are
> single-quotes allowed here, or only double-quotes.  i see a lot of HTML that
> uses single-quotes around attributes.

Unless otherwise specified, the XML rules apply.  See:

    http://www.w3.org/TR/REC-xml#NT-AttValue

Both single- and double-quotes are allowed.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Tuesday, 2 July 2002 19:17:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT