0% found this document useful (0 votes)
174 views2 pages

Nested List Home Work

The document defines nested lists and provides an example of a nested list structure. The example nested list contains three main lists: Communication Department, IT Department, and Electronics Department. The Communication Department list is further nested, containing subjects like GSM and Microwave & Satellite Communication. The IT Department list also contains a nested list of subjects like Introduction to Computer and Computer Network. The code sample provided displays this nested list structure in HTML.

Uploaded by

Nabi Alizada
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
174 views2 pages

Nested List Home Work

The document defines nested lists and provides an example of a nested list structure. The example nested list contains three main lists: Communication Department, IT Department, and Electronics Department. The Communication Department list is further nested, containing subjects like GSM and Microwave & Satellite Communication. The IT Department list also contains a nested list of subjects like Introduction to Computer and Computer Network. The code sample provided displays this nested list structure in HTML.

Uploaded by

Nabi Alizada
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

(Nested list Home work)

Definition: Nested List means that one list can be placed inside of another. HTML can display items as nested lists. A nested list can have different types of lists for example; an ordered list can be used within an unordered list. The following shows an example of a nested list: . . Nested lists

Communication Department 1. GSM 2. Microwave & Satellite 3. Fiber Optic 4. Network Operation 5. Antenna & Propagation 6. Digital Telephony Switching IT Department

o Introduction to Computer o Computer Network o Computer Architecture o Web Designing o Java o Operating System Electronics Department o Electrical Circuit o Analog & Digital Electronics o Power System o CAD/CAM In this nested list, we have total of three lists. The main list starts with Communication Department". The second list, the first nested list, starts with "GSM". The third list, the second nested list, starts with "Microwave & Satellite Communication". Finally the main list ends with "Electronics Department"

Here is the code for the above lists.


<html> <head> <title> /< title> </head> <body> <h1> </h1> <ul> <li>Communication Department <ol> <li>GSM</li> <li>Microwave & Satellite Communication </li> <li>Fiber Optic</li> <li>Network Operation</li> <li>Antenna & Propagation </li> <li>Digital Telephony Switching </li> </ol> </li> <li>IT Department <ul> <li Type="disc">Introduction to Computer</li> <li Type="disc">Computer Network</li> <li Type="disc">Computer Architecture</li> <li Type="square">Web Designing</li> <li Type="square">Java</li> <li Type="square">Operating System</li> </ul> </li> <li>Electronics Department <ul> <li>Electrical Circuit</li> <li>Analog & Digital Electronics</li> <li>Power System</li> <li>CAD/CAM</li> </ul> </body> </html>

Groups Members:
Mohammad Nabi ([email protected]) Eid Mohammad ([email protected]) Ahmad Javid ([email protected]) Habiba ([email protected]) Moska ([email protected])

You might also like