Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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,058 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!

Samuel Llibre Santos
Samuel Llibre Santos
15,467 Points

Thanks for the additional info Martha ;)