<a href="mailto:test@example.com?subject=Testing out mailto!&body=This is only a test!">Second Example</a>
<a href="mailto:test@example.com?subject=Testing out mailto!">First Example</a>
<!--
You can add a subject/body to a mailto: link by using ?subject= or ?body=
If you need to use both, then ensure the second param is postfixed with
"&" instead of "?"
Here are a few examples:
-->
<!-- Add a subject -->
<a id="linktoemail" href="mailto:test@test.com?subject=This%20is%20a%20subject">Click here to trigger email</a>
<!-- Add a body -->
<a id="linktoemail" href="mailto:test@test.com?body=This%20is%20the%20body%20text">Click here to trigger email</a>
<!-- Add a subject and a body -->
<a id="linktoemail" href="mailto:test@test.com?subject=This%20is%20a%20subject&body=This%20is%20the%20body%20text">Click here to trigger email</a>
Code Example |
---|
Html :: html nav example |
Html :: how to code hello world in html |
Html :: html always show scrollbar |
Html :: java replace all html tags |
Html :: html italic text |
Html :: input month in html |
Html :: colspan 1.5 |
Html :: how to make element bold in bootstrap 4 |
Html :: mailto in html |
Html :: underline text in html |
Html :: bootstrap alert |
Html :: how to create an html button that acts like a link |
Html :: comment text in html |
Html :: nested select option in html |
Html :: embed github html |
Html :: favicon.ico html |
Html :: how to make a table in html |
Html :: rounded pill bootstrap 5 |
Html :: html element hover helptext |
Html :: angular bottom sticky footer |
Html :: year dropdown in html |
Html :: picsum |
Html :: google colab to html |
Html :: accordion |
Html :: html select default value |
Html :: how to make a horizontal navigation bar in html |
Html :: textarea bootstrap |
Html :: html video frame image |
Html :: change button color in html |
Html :: bootstrap login |