0 votes
1 view
in Web Technology by (22.4k points)

I have a couple of mailto links in an HTML document.

<a href="mailto:etc...">

Can I insert an HTML formatted body in the mailto: part of the href?

<a href="mailto:[email protected]?subject=Me&body=<b>ME</b>">Mail me</a>

Note that (2016) in iOS, it is perfectly fine to add <i> and <b> tags for simple italic, bold formatting.

1 Answer

0 votes
by (40.3k points)

The special <hfname> "body" is used to indicate that the associated <hfvalue> is the body of the message. The "body" field value is used to contain the content for the first text/plain body part of the message. The "body" pseudo-header field is primarily used for the generation of short text messages for automatic processing (such as "subscribe" messages for mailing lists), not for general MIME bodies

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !