A list created within a list is called a Nested list.Ordered and Unordered list can be nested within each other to form a multilevel list. To create a nested list with a list as given below:
| < HTML > < HEAD > < TITLE > DISPLAYING NESTED LIST < /TITLE > < /HEAD > < BODY Bgcolor="Blue" >
< B > Example of Nested List < /B >< BR >< OL > < LI > INPUT DEVICES < UL TYPE="Square" > < LI > Keyboard < LI >Mouse < LI >Scanners < LI >Joystick < LI >Trackball < LI >Digital Camera < /UL >< BR >< /FONT >< FONT Face="Arial" color="Red" > < LI >OUTPUT DEVICES < UL Type="Disc" > < LI >Monitor < LI >Printer < LI >Impact Printer < LI >Non Impact Printer < LI >Plotter < /UL > < /OL >< FONT >< /BODY >< /HTML > |
Defination lists are used to outline the multiple terms and their description one after another, as in glossary and other name or values list. It start and end with < DL > and < /DL >tag respectively. The < DL > tag is used in conjunction with < DT >(Defination Term ) and < DD > (Defination Description) tags where: