[thelist] mailto links & Outlook subjects
M. Seyon
evoltlist at delime.com
Fri Dec 17 23:00:13 CST 2004
Message from Andrew Clover (12/17/2004 08:18 PM)
><peter at easylistbox.com> wrote:
>
>>You don't have to encode your ampersands in the querystring.
>
>Not so. All HTML attributes, whether they contain URLs or anything else,
>*must* escape ampersands (and less-than, and whichever quote character is
>in use). href="foo?a=b&c=d" is invalid HTML and non-well-formed XML. It
>will work in the average browser, until one of your parameters has the
>same name as an HTML entity (eg. ?page=1§=3) at which point it'll all
>go skewiff.
And if anyone is curious, here are the citations for this:
in XHTML: http://www.w3.org/TR/xhtml1/#C_12
in HTML4: http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2
>Now, whether mailto: links with query strings are to be recommended is
>another story...!
*cough* *cough*
regards.
-marc
--
Trinidad Carnival in all its photographic glory. Playyuhself.com
http://www.playyuhself.com/
More information about the thelist
mailing list