Re: XHTML and attribute quoting

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 UTC