Posts

HTML Lists- A Simple Guide for Beginners

Image
HTML Lists - A Simpe Guide for Beginners  Introduction This guide will enumerate on html lists. Html lists are created to form a group for similar set of items. There are two types of lists in HTML, namely, ordered and unordered lists. In the below sections, we will learn the differences between the two types of lists in detail. Unordered Lists An Unordered list is a list of items in which each of the items is held with a bullet point by default. Let's consider an example of an unordered html list below: Mary John Peter Smith Wolf Gung Code for unordered html list: <ul> <li>Mary John</li> <li>Peter Smith</li> <li>Wolf Gung</li> </ul> Code Explanation As you understand from the tag itself , ul stands for unordered list and for every unordered list, we have a pair of open <ul> and closed </ul> tags respectively and they are referred to ss the list tags. nested within the list tags are the item tags , open list item t...