What is the Nesting list

Asked By 0 points N/A Posted on -
qa-featured

Hello,

What is the Nesting list? How does it work? Where does it use? Please tell me about details. Is nesting list important to web page?

SHARE
Best Answer by Niley Samilene
Best Answer
Best Answer
Answered By 0 points N/A #163214

What is the Nesting list

qa-featured

Hello,

A Nested list is a list is combination of some list. Nesting list sometimes very helpful when both unordered and ordered lists are used.

Example:

<ol>

<li>1st ordered list item. </li>

<li>2nd ordered list item. </li>

<li>3rd ordered list item:

     <ol>

     <li>1st sub ordered list item. </li>

     <li>2nd sub ordered list item. </li>

     <li>3rd  sub ordered list item. </li>

     </ol>

</li>

<li>4th ordered list item </li>

</ol>

You have to careful about the opening and closing tag.

Thanks.

Answered By 0 points N/A #163215

What is the Nesting list

qa-featured

 

Nesting lists are lists included in other lists, included in other lists and so on. For example, consider categories and subcategories in the case of an online store. A menu with nesting lists allows you to show categories of products as well as subcategories.

Answered By 0 points N/A #163216

What is the Nesting list

qa-featured

Listings can be cuddled, meaning one list can be placed Internal to another.

 A nested list, for example, can be used to make an abstract.

 Example:

 

<ul>
   <li>First Item
      <ul>
         <li>Sub Item 1</li>
         <li>Sub Item 2</li>
    </ul>
 </li>
 
<li>Second Item
     <ul>
        <li>Sub Item 3</li>
        <li>Sub Item 4</li>
    </ul>
  </li> 
</ul
 

 

Output :

  • First Item

    • Sub Item 1
    • Sub Item 2
  • Second Item

    • Sub Item 3
    • Sub Item 4

Related Questions