Computer Science, asked by mrsakbaj, 8 months ago

Create a nested list as follows using both ordered and unordered list
tags:
1. Operating System

o Disk operating system
o Windows
o Unix
o Linux

Answers

Answered by Agastya0606
11

Nested list: The nested list is a list inside a list. It occurs when a completely new list is present in another existing list.

Program to display nested list using ordered list and unordered list :

<html>

<head>

<title> HTML nested List </title>  

</head>

<body>

<ol>

 <li> Operating System

     <ul>

           <li> Disk operating system </li>

          <li> Window </li>

          <li> Unix </li>

          <li> Linux </li>

     </ul>

</li>

</ol>

</body>

</html>

The above program will output:  

1. Operating System

  • Disk operating system
  • Windows  
  • Unix
  • Linux

The <ol> tag is HTML tag that defines an ordered list. An ordered list can be numerical or alphabetical. The <li> tag is used to define each list item. The <body> tag contains all the contents like headings, paragraphs, images, hyperlinks, tables, lists, etc.

Similar questions