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 Build a Simple Website Text Editors and HTML Images and Lists

How to create an empty unordered list

I'm having trouble figuring out how to create an empty unordered list. It keeps telling me to make sure to use ul tag. I've tried <ul></ul> and <ul> <li></li> <li></li> </ul> Can't seem to figure it out. Any help would be appreciated.

2 Answers

Jacob Fetner
Jacob Fetner
5,518 Points
<ul></ul>

would be an empty unordered list.

I tried that and it tells me "make sure to use a ul tag". Any other suggestions?

To create an empty unordered list just open and close a ul tag like this: <ul> </ul>