How to add a subject to a mailto anchor in HTML

we can add subject ,cc and bcc using the attributes of the anchor tag in html


<a href="mailto:aaa@company.com?subject=Testing email&bcc=bcc_email@gmail.com&cc=cc_email@gmail.com">test</a>

Leave a comment

Your email address will not be published. Required fields are marked *