[html5] failure to validate mail link?

Henri Sivonen hsivonen at iki.fi
Mon May 17 04:33:49 PDT 2010

"designer" <designer at gwelanmor-internet.co.uk> wrote:

> Sorry if this is obvious, but a page I'm working on won't validate
> because 
> of the mail link.
> The validation error message is:
>  Bad value mailto:designer at gwelanmor-internet.co.uk?subject=problem
> with 
> RSPCA site
> for attribute href on element a: WHITESPACE in QUERY.
> the cut and pasted code is as follows:
> <dd>N.B. If you have found a link which doesn't work, do please
>         <a
> href="mailto:designer at gwelanmor-internet.co.uk?subject=problem 
> with RSPCA site">TELL US</a>
>         us about it</dd>
> What am I doing wrong here? I've googled, but to no avail.

According to the URI spec, you should escape space as %20 in URLs.

Henri Sivonen
hsivonen at iki.fi

More information about the Help mailing list