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 How to Make a Website Beginning HTML and CSS Follow Along with Workspaces

preview is displaying the tags of my h1 element <h1>SAM</h1>

i wrote my name inside the h1 element tags and saved ounce i went to preview the h1 element tags were also there

Please post the code.

2 Answers

Hassan you have to put: <html> <h1> Write here </h1> </html>

Donald Wono
Donald Wono
7,483 Points

I had the same issue in Safari. I put in the < html> < /html> tag before the < h1>< /h1> tag and it fixed the issue. The code looked like: < html> < h1>Something New< /h1> < /html>

To make the answer show up here, I added a space between the open angle bracket at the tag.

Thanks!!!