编辑你的代码:
<!DOCTYPE html> <html> <body> <p> This is an email link: <a href="mailto:someone@example.com?Subject=Hello%20again" target="_top"> Send Mail</a> </p> <p> <b>Note:</b> Spaces between words should be replaced by %20 to ensure that the browser will display the text properly. </p> </body> </html>
查看结果:
phpxuexi.net
- 亲自试一试