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 Creating HTML Content Review: Creating HTML Content

2 Answers

Tanja Schmidt
Tanja Schmidt
11,798 Points

Hi Sebastian,

I would define the unordered/ordered list elements rather as the boxes that may contain list elements. Try applying a background color to an unordered list and then apply a background color only to the list elements inside of it - you should see the difference. I hope this helps! :)

A navigation bar needs standard HTML as a base. A navigation bar is basically a list of links, so using the <ul> and <li> elements makes perfect sense:

--

<ul>
  <li><a href="Home">Home</a></li>
  <li><a href="News">News</a></li>
  <li><a href="Contact">Contact</a></li>
  <li><a href="About">About</a></li>
</ul>
Sebastian Hewelt
seal-mask
.a{fill-rule:evenodd;}techdegree
Sebastian Hewelt
Front End Web Development Techdegree Student 1,254 Points

Yeah, but when i chose <li> as an answer to the question about how does the unordered list element looks like the answer <li> was wrong. The correct answer was <ul>. I feel like the question was poorly written.