Create mailto with the specified subject line
You can use the mailto html command to send emails with a specified subject. In this article you will learn how to include such a specified subject in the command.
mailto command - the basics
The simple mailto html command without subject is shown in Example 1:
- Example 1: Test email without subject
- With this you send an email to the address " ". The string "Test email without subject" appears on the website, which can be clicked to send an email.
Create mailto with the specified subject line
You must now extend this command with the subject element: To do this, add a question mark after the email address, followed by the desired subject such as example 2.
- Example 2: Test email with subject
- With this command you will still send an email to the address " ", but the subject will now automatically contain "CHIP".
You can find out how you can also insert images on your website here.