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 How to Make a Website HTML First Use HTML Elements

Samuel Fils
Samuel Fils
1,392 Points

Paragraph and Headline

If i wanted my paragraph to be bold like text in headlines can I always use <h1> in code instead of <p>

3 Answers

Seth Kroger
Seth Kroger
56,403 Points

You are just doing HTML for now but later in the course you will learn to style things with CSS. With CSS you can style the text inside your <p>'s without needing to use different tags.

Botos Claudia
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Botos Claudia
Front End Web Development Techdegree Graduate 18,765 Points

I think it is better to stay with <p> and style it with CSS, you can for example give the font the weight of bold: p { font-weight: bold;} . Anyway there are many a styles to use with CSS in order to make you code look better, so after you are done with HTML, move further to CSS and fell in love with it. I sure did!