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

text editor for mac

how is it going all I have a question Im new to html and I am using my standard text editor for mac and can't get my header to be H1 size, all it appears in my browser is the actually code I put in the text editor you know h1text/h1 is there somebody who knows how to make it work

2 Answers

What is the extension of the file that you are saving? I personally use sublime text editor. This is the one that they are using in most of the tutorials. Seems to work pretty well. You also want to make sure that you are including the correct syntax like so:

<html>
  <head>
      <title>Test page title</title>
  </head>
  <body>
    <h1>Header Text</h1>
  </body>
</html>

You will want to make sure that you are saving the page as an html file. For example: index.html

Same as Prince Joseph I use Sublime Text 2 editor it's the best editor that I have used.

your first file would normally be named index.html and when you view it in your preferred browser you should then see your content and not the background code. assuming you have the correct syntax coded like above!

If you are still struggling maybe you could put your code on the Forum or on codepen i'm sure we could help you out!