dhairyashah
Portfolio

Aug 30th, 2022

How to add a subject line to the mailto link?

Author Picture

Dhairya Shah

Software Engineer

In my previous article, I shared how to make Email links in HTML - which covered creating basic email links. This article will discuss on adding a subject line in mailto links.

<a href="mailto:[email protected]?subject=Hello World">Email me - Hello World</a>

Email client

Thanks for reading

Follow me on Twitter

Thanks for reading!