How can a subject be added to the email link using mailto:?

The correct way to add a subject to a mailto: link is by appending ?subject=YourSubject to the end of the email address. This way, when the user clicks on the link, their default email client will open a new message with the specified subject pre-filled. The use of the question mark (?) indicates the beginning of query parameters in a URL. 
Add your answer
Loading...

Related Quiz