Re: should attribute values be limited by \" or \'?

On 27 Jun 2001, at 16:27, Daniel Gomes wrote:

> Hello!
> 
> In HTML 4, is it correct to use both \' or \" to delimit attribute values? 
> 
> As I looked in the specification, it doesn't seem so, for instance
> we have in the img specification: 

From section 3.2.2 of the specification:

> 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.

Received on Friday, 29 June 2001 12:59:15 UTC