Member-only story
Linking An Email in HTML
4 min readNov 20, 2022
Linking an email in HTML is a very easy and important feature of HTML. It opens the email-sending interfaces directly by clicking the hyperlink provided in HTML so that the user can directly send emails without going to email-sending platforms such as Gmail, Yahoo, etc.
Also read, Text slideshow HTML with images using w3 CSS and javascript
We can use this feature with the help of an anchor tag in HTML using mailto: email name attribute as shown in the below file
linkmail.html
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div class="container"> <h1>Below Links will open the email sending interface</h1> <h3>Link 1:- <a href="mailto:example1@gmail.com,example2@gmail.com">Send Email to more than one email</a></h3> <h3>Link 2:- <a href="mailto:example1@gmail.com,example2@gmail.com?subject=This is the subject">Send Email to more than one email with Subject</a></h3> <h3>Link 3:- <a href="mailto:example1@gmail.com,example2@gmail.com?subject=This is the subject&cc=example3@gmail.com">Send Email to more than one email with Subject and CC</a></h3> <h3>Link 4:- <a href="mailto:example1@gmail.com,example2@gmail.com?subject=This is the subject&cc=example3@gmail.com&bcc=example4@gmail.com">Send Email to more than one email with Subject and CC and BCC</a></h3> <h3>Link 5:- <a…