Sie sind auf Seite 1von 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 (nabializada@yahoo.com) Eid Mohammad (eidmohhaidary@yahoo.com) Ahmad Javid (ahmadjawidrahimi@yahoo.com) Habiba (habiba_amed@yahoo.com) Moska (muskansetanekzai@yahoo.com)

Das könnte Ihnen auch gefallen