On Fri, 6 Jun 2003 at 11:44, David A. Desrosiers wrote: > > Note that the URL is not quoted. I'll agree that it should be, but the > > standard doesn't require it, and it often isn't. > > The standard actually _does_ require it: > > http://www.w3.org/TR/html401/intro/sgmltut.html > > "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)." > > "We recommend using quotation marks even when it is possible to > eliminate them."
"Require" and "recommend" are not synonymous, as you well know, and I find your quoting somewhat misleading. Here is the complete quote: -------- quoth http://www.w3.org/TR/html401/intro/sgmltut.html -------- 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. Authors may also use numeric character references to represent double quotes (") and single quotes ('). For double quotes authors can also use the character entity reference ". In certain cases, authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58). We recommend using quotation marks even when it is possible to eliminate them. -------- unquoth http://www.w3.org/TR/html401/intro/sgmltut.html -------- Therefore, some relative URIS are perfectly valid to leave unquoted in HTML 4.01, though not Jim Jewett's example: <a href=../images/smily.gif> However the following would be fine in HTML 4.01: <a href=A_valid_example-3.14.html> blarph</a> XHTML requires quoting all attribute="values". -alan -- Alan Hoyle - [EMAIL PROTECTED] - http://www.alanhoyle.com/ "I don't want the world, I just want your half." -TMBG Get Horizontal, Play Ultimate. _______________________________________________ plucker-list mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-list

