On Friday, April 12, 2002, at 07:41  PM, Andrew Chase wrote:

> Are single quotes valid around tag attributes in XHTML?  I skimmed over 
> the
> W3C XHTML 1.0 spec before posting the previous message and got the
> impression all attributes had to be double quoted.  It would be great if
> single quotes were valid, since I've fallen into the habit of using
> them for the same exact reason this thread got started... easier to 
> read and
> faster to type than \" :)

You are correct, single quotes are valid around tag attributes and thus 
may contain doublequotes (and vice versa).

To the best of my knowledge, the following is fine XML/XHTML:

<select class='uppercontent' multiple="multiple" name="beefcake">





Erik Price
Web Developer Temp
Media Lab, H.H. Brown

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to