If using more than one parameter, you must separate
them with encoded ampersands (&). Note that spaces within the subject should also
be encoded (as %20).
Click
?? to email!Although this may sound great, there are several problems with such a system. First, e-mail
addresses online are often harvested by spambots. Second, a mailto: link relies on the
user having a preconfigured e-mail client ready to go??”something that people working on
college and library machines most likely won??™t have. Third, not all browsers support the
range of options explained earlier.
There should be no spaces in a mailto: value. Therefore, don??™t place spaces
before or after colons, commas, or the ? and = symbols.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
314
A way to combat the spambots is presented in the next section. For the second issue (the
mailto: link??™s reliance on a preconfigured mail client), I recommend using forms for any
complex website feedback, which we will come to later on in this chapter. For the third
issue (browser support for the more advanced mailto: options), I recommend just keeping
things simple. Place your e-mail address online as a mailto: and enable the user to fill
in any other details, such common as the subject line.
Scrambling addresses
In my experience, having an e-mail address online for just a few days is enough to start
receiving regular spam.
Pages:
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408