As you know, mailto is a very practical html tag in web design and production. Many friends who have personal webpages like to write their own email addresses in the conspicuous position of the website, in this way, once a web browser clicks a super connection consisting of mailto, it can automatically open the default email client software in the current computer system, such as OutLook Express and Foxmail. Of course, the use of mailto labels is not just as simple as described above, but also has other applications. In order to help you have a comprehensive understanding of the mailto tag, I will make a detailed summary of the use of the mailto tag here, hoping to share with you!
1. If we create a super connection like "mailto: aaa@21cn.com" in the web page, click the super connection with the mouse, the browser will automatically call the system's default mail client program. At the same time, the recipient's address is automatically written in the recipient settings bar of the Mail editing window, while other content is blank and left to the visitor to fill in;
2. If you want the system to automatically open the email editing window when you click the email Super connection, in addition to automatically entering the content in the recipient's address bar, in the CC address bar can also automatically fill in the e-mail address you need, you can directly insert in the html source code of the web page such as "mailto: aaa@21cn.com? Bbb@21cn.com, where the aaa@21cn.com will automatically appear in the recipient's address bar and the bbb@21cn.com will automatically appear in the CC address bar;
3, if you want to automatically fill in the subject content of the mail in the pop-up dialog box, you can use the form of "mailto: aaa@21cn.com? Subject = reply to an html statement such as NetEase, when the viewer clicks an email hyperlink consisting of the statement, the aaa@21cn.com automatically appears in the recipient's address bar in the subsequent mail edit window that opens, and the content like "Reply to NetEase "appears automatically in the topic settings bar;
4. If you want to enter multiple email addresses at the same time in the recipient's address bar, you can use statements like mailto: aaa@21cn.com; bbb@21cn.com, remember that each email is separated by a comma (;), so that when the viewer clicks the email hyperlink created by the statement, in the recipient address bar in the pop-up mail edit window, recipient addresses such as aaa@21cn.com and bbb@21cn.com appear, and viewers can send emails to these people at the same time.
<