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.

nitin valvi
244 Pointsdon't understand
don't understand
<style>
h1 {
color:green;
}
<h1> nitin valvi </h1>
</style>
2 Answers

Ronav Saundh
8,070 PointsHi, This is just a small error. You have put your H1 tags inside the style tags which are meant for css. Try something like this:
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
color:green;
}
</style>
</head>
<body>
<h1> Nitin Valvi </h1>
</body>
</html>
I hope this works for you. Cheers

Bryce Santos
11,144 PointsYou have your h1 tags in the style tags. Try this instead:
<head>
<style>
h1 {
color:green;
}
</style>
</head>
<h1> nitin valvi </h1>
edit: style tags need to go inside head tags, d'oh!

Ronav Saundh
8,070 PointsHi,
Bryce Santos. I think you forgot to put the body tags around your H1 tags and then close the page with </html>
:)
Cheers.

Bryce Santos
11,144 PointsYeah, I should have written out the code completely and correctly when I edited the post. Your post works better :D