- . The tag can be employed to create simple one-level lists and also display the hierarchical structure of your web site by nesting lists if your site s more complex.
The Unordered Lists tag
- supports a neat attribute called Type with which you can specify the type of bullet you want for the list - disc, circle or square.
Let us look at an example:
* Electronics
o DVD Players
o V.C.R.s
o Computers
+ Desktops
+ Laptops
+ Palmtops
o Portable MP3 players
o T.V.s
* Automobiles
o Cars
o Buses
o Motorcycles
o Scooters
* Furniture
o Beds
o Tables
o Chairs
The HTML code for the above is:
Note how the hierarchical structure is displayed using nested Unordered Lists
- tag. We have also used the TYPE attribute and specified the kind of bullet we want for each list.