List inside a list HTML
Listing items on a web page is a common task you'll have to do as a web developer. You may have to list shopping cart items, the order of students based on their grades, dogs with the loudest bark and so on. Show
So you need to know the different ways you can list items using HTML. While you might think it's a trivial thing to learn, it's important. And it's one of the most commonly used features of HTML in web development. In this article, you'll learn all about HTML listing elements, their properties, styling, and how to actually use them to create neat lists. I hope you find it helpful. How to Make Lists in HTMLIn HTML, we can list items either in an ordered or unordered fashion. An ordered list uses numbers or some sort of notation that indicates a series of items. For example, an ordered list can start with number 1, and continue through 2, 3, 4, and so on. Your ordered list can also start with the letter A and go through B, C, D, and so on. Here is an example of an ordered list with students' names and marks. Ordered list of studentsOn the other hand, we have unordered lists, like a TODO list for example. Here I am so passionate about coding that I skipped my breakfast . Unordered TODO listThere is one more type of list called a description list that we will learn as well below. Now let's get into a bit more detail and see how to create each type of list in HTML. How to Make an Ordered List with HTMLIn HTML, we can create an ordered list using the
|