Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (20.3k 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.7k 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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...