How to Create a Link to Send Email in HTML ? Last Updated : 16 Jun, 2025 Comments Improve Suggest changes Like Article Like Report Incorporating email links into HTML pages facilitates a smooth way for users to send a message directly from the webpage. We will see how to create these email links, making your web pages user-friendly and interactive.Using Mailto Protocol with Predefined SubjectTo create a link to send an email in HTML, we use the mailto protocol. The basic structure for creating a link to send an email in HTML uses the standard anchor tag <a> but with the href attribute pointing to a special mailto protocol instead of a regular URL. After the email address, we can add a question mark (?) to separate parameters. We use the keyword subject followed by an equal sign (=) and then the text to add the subject.Example 1: Creating a link to send email in HTML Using Mailto Protocol with a Predefined Subject index.html <!DOCTYPE html> <html> <head> <title>Email Link with Subject</title> </head> <body> <h2>Send Email</h2> <a href="mailto:[email protected] ?subject=Saying%20hello%20from%20GFG"> Send Email With Subject </a> </body> </html> Output Email Link with Predefined SubjectCreating a Link to send Emails with predefined CC and BCC To define BCC recipient we use the "bcc" attribute. Similarly, we use the "cc" attribute to define the CC recipient. We will use ampersand (&) to join parameters. We used &[email protected] to add the carbon copy recipient and &[email protected] to add a blind carbon copy recipient. Example 2: Creating a link to send email in HTML with predefined CC (Carbon Copy) and BCC (Blind Carbon Copy) index.html <!DOCTYPE html> <html> <head> <title>Email Link with Subject</title> </head> <body> <h2>Send Email</h2> <a href="mailto:[email protected] ?subject=Saying%20hello%20from%20GFG &body=Hello%20there,%20this%20is%20predefined body &[email protected] &[email protected] "> Send Email With CC and BCC </a> </body> </html> OutputEmail Link with Predefined CC and BCC Comment More infoAdvertise with us Next Article How to Create a Link to Send Email in HTML ? I isnik Follow Improve Article Tags : HTML HTML-Questions Similar Reads How to Create a Download Link in HTML? A download link allows users to download a specific file when they click on it. The download attribute in HTML is used to create a download link. Using the anchor tag we can create a download link in the HTML.Using the <a> Anchor TagTo create a download link in HTML, use the <a> tag with 1 min read How to Create Mail and Phone Link in HTML? The HTML provides mailto and tel attributes to create the mail and phone links. We can use them in href to create the links. The href provides other sub-attributes that define the other properties of the mailto and phone link. Creating a Mailto LinkA mailto link is an easy way for users to contact w 2 min read How to Create Links to Other Pages in HTML ? HTML links are like pathways on the internet. They connect one webpage to another. Imagine a link as having two parts: a starting point (where you click) and an endpoint (where you end up). When you click on a link, you're basically starting at one point (the anchor) and moving to another (the desti 2 min read How to Create a Hyperlink in HTML? If we want to navigate from one page to another then Hyperlink comes into play. It provides you the link to navigate to another page, on hovering that link the cursor turns into a little hand. Hyperlink enables us to connect one page to another, navigate to specific sections, or even open applicatio 2 min read How to Link a Button to Another Page in HTML? Linking a button to another page is a common requirement in web development. It can allow the users to navigate between a website's different sections or pages. This can be done using the various HTML elements.PrerequisitesHTMLCSS1. Using <a> Tag Styled as ButtonThe <a> tag is traditiona 3 min read Like