Michael
Michael

Reputation: 376

Email Tag in HTML?

I have an IT class project that wants us to include a number of things in a website, most of which I'm familiar with. However, it mandates the "Use of at least one email tag." I can't find anything about this tag. Does it actually exist? My guess is they mean a mailto link or an email form or something. Am I missing anything here?

EDIT: Thanks for the responses, but I did know how a mailto link works. I was just curious if anyone knew anything about an extinct tag or something that I was missing.

Upvotes: 2

Views: 8287

Answers (3)

dibyom
dibyom

Reputation: 101

If you have to use a mailto: is the only HTML email tag as far as I am aware of. You can specify your email, a subject, cc, bcc, and even some of the body :

<a href="mailto:[email protected][email protected]&amp;subject=Email-subject&amp;body=Hi%20Michael%2C%0A%0A%3CFill%20out%20the%20body%3E">Send email</a> The%20 is to spearate out spaces between words. More details here

Upvotes: 4

Howli
Howli

Reputation: 12469

The email tag would be mailto:. An example of this would be

<a href="mailto:[email protected]">Email me</a>

Which would display out as Email me in HTML and clicking on that link (not the one in this line because it's only an example) should open it in the email client you have set for emails.

Upvotes: 2

Sumner Evans
Sumner Evans

Reputation: 9155

This link will take the user to their default mail software and start composing a new message to [email protected].

<a href="mailto:[email protected]">Send email to [email protected]</a>

Upvotes: 4

Related Questions