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 trialRick Woolley
Courses Plus Student 502 Pointswhat is with that big red erroneous error message re forgetting a style tag. It works just fine.
you can see it is just fine.
<html>
<head>
<style>
h1 {
color: blue;
}
</style>
<h1>Rick Woolley</h1>
</head>
<body>
I am boooord
</body>
</html>
1 Answer
moonshine
8,449 PointsFor this exercise there should only be a body element, a h1 element, and a style element above the h1 element.
Otherwise, h1 tags don't ever belong in the head element. The head element is for styles, scripts, meta data, the page title, etc. A h1 would be better suited in a header tag inside the body.