Search
 
SCRIPT & CODE EXAMPLE
 

HTML

mailto subject

<a href="mailto:test@example.com?subject=Testing out mailto!&body=This is only a test!">Second Example</a>
Comment

mailto subject

<a href="mailto:test@example.com?subject=Testing out mailto!">First Example</a>
Comment

add subject to mailto

<!--
	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>
Comment

PREVIOUS NEXT
Code Example
Html :: html how to make element focusable 
Html :: top bar html 
Html :: how to write python in html 
Html :: input textbox size 
Html :: input tag html with data list 
Html :: css heading background line 
Html :: html phone call 
Html :: cehck button html 
Html :: at sign html 
Html :: onclick hide div javascript 
Html :: how to write floating point numbers in html5 input 
Html :: html delay 
Html :: html video play pause 
Html :: svg namespace uri 
Html :: default link color in html 
Html :: list html 
Html :: js input change form submit 
Html :: ps -aux | grep pid | kill 
Html :: check if select option is selected javascript 
Html :: svg with src in html 
Html :: html how to insert image 
Html :: html disable anchor link 
Html :: ng else if 
Html :: html images with link 
Html :: how to disable li tag in html 
Html :: how to change innerhtml color 
Html :: How to make Website Metadata 
Html :: svelte comments 
Html :: html reload button 
Html :: how to center a text html 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =