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

How to add a paragraph tag that has some text at tast 4?

I can't finish this task.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Mastery Challenge</title>
  </head>
  <body>
    <h1>HTML Mastery Challenge</h1>

    <!-- Write your code below -->


  </body>
</html>

1 Answer

Benjamin Rochez
Benjamin Rochez
9,508 Points

So the question is : Add a paragraph tag that has some text inside of it bolded.

You saw in the previous videos that to add a paragraph you'll need to use this

<p>Some text</p> 

to define a paragraph. you can follow this link for more informations : http://www.w3schools.com/tags/tag_p.asp

The second part of this question is to have some bolded text inside this paragraph, you'll need to use this

<strong>Strong text</strong>

You can learn more about the strong tag here : http://www.w3schools.com/tags/tag_strong.asp

Hope that it helped you :)

Thanks a lot. All the time I was using < b > tag to make the text bold.