Create email link

This example demonstrates:

This example demonstrates how to link to an email. (This example can only work after installing the mail client program.)

Example analysis:

should be used Replace the spaces between words so the browser displays the text correctly.


Continuing Learning
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(www.php.cn)</title> </head> <body> <p> 这是一个电子邮件链接: <a href="mailto:someone@example.com?Subject=Hello%20again" target="_top"> 发送邮件</a> </p> <p> <b>注意:</b> 单词之间空格使用 %20 代替,以确保浏览器可以正常显示文本。 </p> </body> </html>
submitReset Code