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 trialAlec Picinich
3,470 PointsIt says Add a paragraph tag that has some text inside of it bolded
I put ---
<p>
<b>
text
</b>
</p>
3 Answers
Andrew McCormick
17,730 PointsAlec,
They are looking for you to use the <strong>
tag. Technically <b>
is correct as well though there is discussion of which to use where.
See:
http://www.w3.org/International/questions/qa-b-and-i-tags
http://stellify.net/html5-b-and-i-tags-are-going-to-be-useful-read-semantic-again/
http://stackoverflow.com/questions/271743/whats-the-difference-between-b-and-strong-i-and-em
Laura Cressman
12,548 PointsI'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
17,730 PointsLaura, the <em>
tag is emphasized text (italics) by default, not bold.
Laura Cressman
12,548 PointsMy bad-I must have mixed them up! I edited my answer so no one else gets confused :)