Your client wants an easy way for website visitors to contact them via email, with the subject and body pre-filled. How would you implement this using mailto: links?
- Use a form with POST method to send emails.
- mailto:client@email.com#subject=Hello&body=Message
- mailto:client@email.com/subject=Hello/body=Message
- mailto:client@email.com?subject=Hello&body=Message
The mailto: scheme can be extended with parameters to pre-fill the subject line, body, and even CC or BCC fields in an email. The format is: mailto:[recipient]?subject=[subject]&body=[body]. This creates a seamless experience for the user, allowing them to simply click the link to open their email client with a pre-populated message.
Loading...
Related Quiz
- How does the use of access keys enhance website usability?
- Which HTML tag is used to create a dropdown list in a form?
- Imagine you are developing a website that needs to be optimized for search engines. How would you utilize the head section, especially the meta tags, to enhance SEO?
- The ______ attribute is used in the video element to automatically play the video when the webpage loads.
- You're developing a FAQ section on a webpage. How would you semantically structure the questions and answers using HTML list elements?