How to dynamically append li to ul?

What are UL's and li's?

  • Answer:

    A UL is an Unordered (i.e. bulleted) List. It is a container which holds one or more List Items. <ul> <li>Item one</li> <li>Item two</li> </ul> If you want automagically numbered lists, you use an OL (Ordered List) instead. The List Item tag doesn't change, only the container: <ol> <li>Item one</li> <li>Item two</li> </ol>

James Martin at Quora Visit the source

Was this solution helpful to you?

Other answers

A < UL > is an unordered list. An < LI > is a line within that list - a bullet. Also, an < OL > is for an ordered list (numbers instead of bullets).

Regan Bourland

I agree with the other answers.  I just wanted to add that they are both often formatted into what you use for menus using CSS.  It's simple, and it's what many search engines look for, other than meta data.  You'll even see them on this page if you right click and view the page source.  The code is generated by a server, but you can use crl F to find the lists.

James Sager

When it comes to creating lists, we have two different options in our web developer’s arsenal – an ordered list <ol> and an unordered list <ul> . Each of these two types of lists are created through the use of list items, which are denoted by the <li> tag. Taken from: http://www.webdevaddict.com/tutorials/beginner/lists-in-html/

Heather Wilson

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.