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

When I preview my name in the browser, it comes along with the h1 tags, is that normal, as I see your name individually

This question is in relation to learning to write our name in HTML in workspace

Kenneth Kimbrell
Kenneth Kimbrell
Courses Plus Student 6,816 Points

with my experience with HTML that is not normal. Make sure your tags are properly placed and try again.

Remember that all tags have a closing tag as well.

<h1> Vani </h1>

Is that how it should be? I tried adding color element to it, it still shows the whole syntax in the web browser when I preview.

Kenneth Kimbrell
Kenneth Kimbrell
Courses Plus Student 6,816 Points

If you want to add color properties, you should use CSS. However there are ways to style your tags within HTML.

<h1 style="color:green;">Hello, World</h1>

3 Answers

The usual problem is the lack of html or body tags. It should look something like this.

<html>
  <body>
    <h1>name</h1>
  </body>
</html>

Thank you. I will try this as am a complete novice and trying my hand on learning IT for the first time.

Thank you I will try this.

Hi Kenneth, It works if I write the syntax as Ted mentioned, but for Nick in the videos he just writes it out with h1 tags, I mean without the body and html inserts.

I am not sure why it works that way in the video. They may have made changes to Workspaces after the video was made.