Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html
mailto
mail

What are html mailto links?

Educative Answers Team

The mailto keyword allows you to create a link that launches the user’s default mail client so that the user can send an email to the address specified after the mailto keyword.

Just like any ordinary link, mailto links are placed in the href section of the anchor tags.

svg viewer

Additionally, we can add the cc, bcc, and subject fields within the tag. The first two fields are separated using the ? sign; whereas, the fields following are separated using & signs. See below for an example.

<a href=
"mailto:boss@workmail.com?cc=secretary@workmail.com&subject=Emergency"
> </a>

RELATED TAGS

html
mailto
mail
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring