> What's more "in-spec":
> 
> <div id="hello"></div>
> Or
> <div id='hello'></div>

http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

<quote>
By default, SGML requires that all attribute values be delimited using
either double quotation marks (ASCII decimal 34) or single quotation marks
(ASCII decimal 39). Single quote marks can be included within the attribute
value when the value is delimited by double quote marks, and vice versa.
</quote>

So, both are theoretically acceptable.
Russ

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to