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 Forms HTML Mastery

Alec Picinich
Alec Picinich
3,470 Points

It says Add a paragraph tag that has some text inside of it bolded

I put ---

<p>
   <b>
       text
   </b>
</p>

3 Answers

Laura Cressman
Laura Cressman
12,548 Points

I'm not sure exactly what your question is, but a paragraph tag is <p></p>, and to bold things, we use strong tags <strong></strong>. For example, to add a paragraph tag with some text inside of it bolded, you could try

<p>This is a paragraph and <strong>some text</strong> inside is bolded.</p>

Hope that helps!

Andrew McCormick
Andrew McCormick
17,730 Points

Laura, the <em> tag is emphasized text (italics) by default, not bold.

Laura Cressman
Laura Cressman
12,548 Points

My bad-I must have mixed them up! I edited my answer so no one else gets confused :)