Welcome to the Treehouse Community
Looking to learn something new?
how toun order a list under <body>
help me plz
<!doctype html> <html> <head> <title>List Example</title> </head> <body> </body> </html>
-- --12,382 Points
The HTML tags for an unordered list are:
<ul></ul> (the tags for the ordered list are
You can put list items into the list by writing the following between the
<li>This is a list item</li>.
So, to create an unordered list in the
<body>, you write the following between the
<ul> <li>Item One</li> <li>Item Two</li> <li>Item Three</li> </ul>
Hope this helps! :)
Jonathan GrieveTreehouse Moderator 91,040 Points
So there are 2 types of lists in HTML. There's ordered lists
<ol> and unordered list
<ul>. The difference being one gives you bulleted numbers and the other one, does not. No numbered order to the list.
Each one has
<li> as it's child element, which in turn can have more list item elements as children.
If you want an unordered list you need something like this
<ul> <li></li> </ul>
Providing as many list items with text content as the code challenge asks for! :-)