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

bryan Walker
bryan Walker
1,301 Points

On quiz question How to use html element question 6, how do I use selection elements?

I am typing the header, selection, and footer elements correctly in the body but the program won't let me progress.

index.html
<!DOCTYPE HTML>
<html>
  <head>
  <meta charset="utf-8">
    <title>bryan Walker | Illustrator</title>
   </head>
  <body>
    <header>
      <h1>BW</h1>
    </header>
    <selection>
      <p>bry</p>
    </selection>
    <footer>
      <p>&copy; 2014</p>
    </footer>
   </body>
</html>

2 Answers

Hi, Bryan. I believe you're looking for the section element, instead of selection.

<section>
    <!-- Your code here -->
</section>
bryan Walker
bryan Walker
1,301 Points

Thanks. Ive been working for a couple hours. Maybe it is time to take a break.

Joel Hernandez
seal-mask
.a{fill-rule:evenodd;}techdegree
Joel Hernandez
Front End Web Development Techdegree Student 2,571 Points

Hey! You're close!

They are wanting a section element, not selection element. Your code should be.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<header></header>
<section></section>
<footer></footer>
</body>
</html>