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

Headlines

In this below - why are there two <h4>? I thought there could only be 6 headlines in total, but I didn't hear in any video that we could use one headline twice? I got this from the teachers notes. Thanks!

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>All About Joy's Page</title> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel="stylesheet" type="text/css"> <link href="style.css" rel="stylesheet"> </head>
<body> <img src="joy.jpg" alt="joy">

 <h1>Joy Kesten</h1>

 <h2>Teacher</h2>

 <h3>San Francisco</h3>

 <h4>What I do:</h4>
 <p>I'm a teacher at Treehouse, but you should write in what you do here!</p>

<h4>What I enjoy doing:</h4>
<p>When I'm not writing code, I like to surf and play music. Your turn, write in something that makes you happy, or things you like to do in your free time.</p>

</body> </html>

1 Answer

Kevin Gates
Kevin Gates
15,053 Points

They are 6 levels of headlines, but you can use each level as much as you want (meaning there isn't a technical restriction). You may not normally want more than one h1 tag per page, but that is more for SEO reasons.