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

CSS How to Make a Website Beginning HTML and CSS Write an HTML Element

My preview opens with the tags . what am I doing wrong?

When I write <h1>My Name</h1>, when I preview it, it comes up with the tags. What do I need to do so that it would come as My Name without the tag?

index.html

2 Answers

Blake White
Blake White
5,232 Points

Press the preview (eye) button to see the rendered HTML instead of the HTML file itself.

That's the one I have been pressing.

Blake White
Blake White
5,232 Points

Since the link opens a new workspace, let me put the code here. Does this look like what you have?

<h1>Any name</h1>

Yea Blake that exactly the way it looks and thanks a lot