[wp-hackers] XHTML Strict Mode

David Carrington david.carrington at gmail.com
Tue Aug 17 08:25:40 UTC 2004


The quotes you can use for attributes are defined in the XML specification:

AttValue	   ::=   	'"' ([^<&"] | Reference)* '"'
			|  "'" ([^<&'] | Reference)* "'"

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

In other words, you can only use double quotes or single quotes.

David Carrington



On Mon, 16 Aug 2004 23:13:49 +0200, Brian Meidell <brian at mindflow.dk> wrote:
> The spec actually doesn't seem to mention single quotes, but they pass
> the w3 validator though.



More information about the hackers mailing list