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 HTML Forms HTML Mastery

lists

how do i list items

4 Answers

Organised List: (1,2,3,4)

<ol>
    <li>List Item 1</li>
    <li>List Item 2</li>
    <li>List Item 3</li>
</ol>

Unorganized List: (Bullet Points)

<ul>
    <li>List Item 1</li>
    <li>List Item 2</li>
    <li>List Item 3</li>
</ul>

easy into tag

<li>list item</li>

on an unordered list <ul> <li> </li> <li> </li> <ul>

On an ordered list <ol> <li> </li> <li> </li> </ol>

First, you ALWAYS start with either the <ol></ol> tags or the <ul></ul> depending on which list you'd like to create. Inside of those tags, is the <li></li> tags, where you actually put the text/image you're listing.

"ol" stands for ordered list, which means that there will be numbers before each list item. Ex:

1.Cars 2.Boats 3.Trucks

"ul" stands for unordered lists. In other words, there will be only bullet points beside each list item. Ex:

.Cars .Boats .Trucks