How to make a List in HtmlIn Html, we can create three type of List:
Unordered List An unordered list is a collection or set of items whose order or sequence does not matter. If we want to create the Unordered list in the Html document to show the items on the web page then we have to follow the steps which are given below. Using these steps, we can easily create an unordered list. Step 1: Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to create the unordered list. Step 2: Now, we have to place the cursor at that point in the tag where we want to display the unordered list. And, then we have to type the
Step 3: After that, we have to define the items which we want to show as unordered on the web page. For that, we have to use the "> Step 4: When we typed all the items then we have to close the list by closing the tag. Step 5: And, at last, we have to save the Html file and then run the file in the browser. The output of the above Html code is shown in the following screenshot: Ordered List If we want to create the Ordered list in the Html document to show the items on the web page in a sequence then we have to follow the steps which are given below. Using these steps, we can easily create an ordered list. Step 1: Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to create the ordered list. Step 2: Now, we have to place the cursor at that point in the tag where we want to display the ordered list. And, then we have to type the
Step 3: After that, we have to define the items which we want to show in a sequence on the web page. For that, we have to use the Step 4: When we typed all the items then we have to close the list by closing the tag. Step 5: And, at last, we have to save the Html file and then run the file in the browser. The output of the above Html code is shown in the following screenshot: Description ListDescription list is a list of items with their description and definition. If we want to create the Description list in the Html document to show the items on the web page with their description then we have to follow the steps which are given below. Using these steps, we can easily create a description list. Step 1: Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to create the description list. Step 2: Now, we have to place the cursor at that point in the tag where we want to display the description list. And, then we have to type the
Step 3: After that, we have to define the term which we want to show in a description list on the web page. For that, we have to use the tag. So, we have to type the opening |