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 Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications Test: Create an Unordered List

how do you add unordered list element between the <body> tags.

thats all

index.html
<!doctype html>
<html>
  <head>
    <title></title>
  </head>
  <body>


  </body>
</html>

You'll pretty much do the same as the body tags inside the HTML tags. The tag for unordered list is <ul> close with </ul> list items <li> </li> will be inside that.

Fredrik Rönnehag
Fredrik Rönnehag
2,342 Points

Watch the videos again if you didn't get it.

2 Answers

Robbie Thomas
Robbie Thomas
31,093 Points
<!doctype html>
<html>
  <head>
    <title></title>
  </head>
  <body>
     <ul>
       <li>First Item</li>
       <li>Second Item</li>
       <li>Third Item</li>
     </ul>

  </body>
</html>

Be sure to put the <ul> tags inside of the <body> tags. After the <ul> tag, put the <li> tags inside. Don't forget to close it with a </ul> tag.

<html> <head> <title></title> </head> <body> <ul> <li>First Item</li> <li>Second Item</li> <li>Third Item</li> </ul>

</body> </ht