mailto "label four application tips

Source: Internet
Author: User
Tags mail window client
Skill you know, mailto is a very useful HTML tag in web design, and many friends with personal pages like to write their own email address in the eye-catching location of the site, so that once a Web browser clicks a super connection made up of mailto, You can automatically open the default e-mail client software in your current computer system, such as Outlook Express and Foxmail. Of course, the use of mailto tags is not just as simple as the above, it has other applications. In order to help users have a comprehensive understanding of the Mailto label, the author here on the use of mailto label to do a detailed summary, I hope to share the exchange with you!

1, if we create a "mailto:aaa@21cn.com" in the Web page such as a super connection, with the mouse click the Super connection, the browser will automatically call the system default mail client program, while in the Mail editing window in the recipient settings bar automatically write the address of the recipient, The other content is blank, leaving visitors to fill out their own;

2, if you click on the email super connection, I want the system to automatically open the e-mail editing window, in addition to automatically fill in the Address bar of the recipient, in the CC address bar can also automatically fill in the e-mail address you need, you can directly in the page's HTML source code into the form of " Mailto:aaa@21cn.com?bbb@21cn.com "Such statement, where aaa@21cn.com will automatically appear in the recipient address bar, Bbb@21cn.com will automatically appear in the CC address bar;

3, if you want to be in the pop-up Mail editing window can automatically fill in the subject content of the message, you can use the form such as "mailto:aaa@21cn.com?subject= reply NetEase College" such an HTML statement, When the viewer clicks the e-mail hyperlink made up by the statement, the aaa@21cn.com appears automatically in the recipient address bar of the message editing window that opens, and the "Reply to NetEase College" will automatically appear in the theme settings bar;

4. If you want to enter multiple e-mail addresses in the address bar of the recipient, you can use statements such as "mailto:aaa@21cn.com;bbb@21cn.com" to remember that each e-mail message is separated by a ";" This way, when a viewer clicks on an e-mail hyperlink created by the statement, a recipient address such as aaa@21cn.com and Bbb@21cn.com appears in the recipient address bar of the pop-up mail editing window, and the viewer can send e-mail to those people at the same time.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.