Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Basics Going Further with HTML Link to Email

Martha Fontelera
Martha Fontelera
1,556 Points

Additional Info: Adding paragraphs in the body

You can also add paragraphs in the body message. Use this Syntax= %0A%0A

<p>Email:</strong><a href="mailto:coolvrexperience@gmail.com?subject=Hi%20There!&body=Hi!%20Thanks%20for%20your%20message.%0A%0AI%20am%20currently%20out%20of%20the%20office.%20I%20will%20%20respond%20to%20your %20message%20as%20soon%20as%20I%20am%20back.%0A%0ACheers!">coolvrexperience@gmail.com</a></p>

So your body will look like this:

Hi! Thanks for your message.

I am currently out of the office. I will respond to your message as soon as I am back.


2 Answers

21,017 Points

Hello Marta. You have done a great work. I am happy that you are doing great work. I will give you some assists with this subject: inside the body tag you should place them

<p>Hi! Thanks for your message.</p>

<p>I am currently out of the office. I will respond to your message as soon as I am back.</p>


each p tag will make a new paragraph. I wish it help you you can write in comment if you need any further help.

Enjoy Coding

Martha Fontelera
Martha Fontelera
1,556 Points

Hey Hidayatullah! Thanks for commenting! This additional info actually is for the the <a href="mailto:#"> attribute. So you can add a body or message on the auto-launched email.

But thanks a lot!

14,252 Points

Thanks for the additional info Martha ;)