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 HTML First Use HTML Elements

too many elements to remember, this section was pretty hard for beginners.

add the head and element

index.html
<!DOCTYPE html>
<html>
<head>
  <meta CHARSET="utf-8>
  <header>Sunil Sahu</header>
                 <footer>
                 Project Designer
                 </footer>
                 <body>
                 <html>&copy; 2017 | Sunil Sahu
                 </html>
                 </body>
<head>
</html>

2 Answers

Hi Sunil

After the <!DOCTYPE html>, everything is suppose to be within the <HTML> tag.

1st - The <head> tag contains the <meta> tag and the <title> tag.

2nd - The <body> tag will contain the <header>, <section> and <footer> tags.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <header>
    </header>
    <section>
    </section>
    <footer>
    </footer>
  </body>
</html>
Julio Akiyama
Julio Akiyama
9,068 Points

Repetition is the best way to learn Sunil. After a week or two, you will see that this start part is actually pretty easy! keep at it!!