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 Write an HTML Element

DeAndre Hampton
DeAndre Hampton
434 Points

How do I write my name in the <h1> tag

The question asked me to write my name in an HTML tag. Is the following correct?

<h1 "Deandre">

index.html
<h1 "DeAndre">

4 Answers

In html the most of the tags have an opening and closing tag, and what you want to make appear on the page you write between the tags.

  <h1>Name</h1>
Sandro Oliveira
Sandro Oliveira
2,350 Points

Hi DeAndre

you need to write your name in the middle

<h1>DeAndre</h1>

Note: Always remember to put a / on the closing element tag :)

Cheers, Sandro