HTML 3
Creating Lists in HTML Hello friends, Now it’s time to create lists and tables... Let's start with lists first. In HTML, there are three types of lists: ordered lists, unordered lists, and definition lists. We will examine each type separately. Ordered List <html> <body> <ol> <li>Tea</li> <li>Coffee</li> <li>Milk</li> <li>Water</li> </ol> </body> </html> Unordered List <html> <body> <ul> <li>Tea</li> <li>Coffee</li> <li>Milk</li> <li>Water</li> </ul> </body> </html> In an ordered list, we use the <ol> tag, and each item is placed within <li>...</li> tags. The browser displays it as follows: Tea Coffee Milk Water The only difference in an unordered list is that we use <ul> instead of <ol> . The result in the br...