The MENU and DIR Tags


The MENU and DIR tags work exactly like the UL tag. One attribute shared by UL, DIR, and MENU is the type attribute. It can take an argument of circle, square, or disk. Here's an example of a MENU, DIR, and UL using circle, square and disk, respectively.

MENU LIST USING TYPE=CIRCLE:

  • one
  • two
  • three
  • four
  • five
  • six
  • seven
  • eight
  • nine
  • ten

  • DIR LIST USING TYPE=SQUARE:
  • one
  • two
  • three
  • four
  • five
  • six
  • seven
  • eight
  • nine
  • ten
  • UL LIST USING TYPE=DISK:

    --------------------------
    The student probably notices a bit of redundancy between these three tags. It might be interesting for the student to do a bit of research to see if there are any functional differences between these three tags. This is an optional exercise.
    --------------------------
    ASSIGNMENT:
    This part is not optional. The student will create two lists. One list will use the menu tag with type set as square and the other list will use the dir tag with type set as circle. Each list will be as long as is necessary to fit all its elements. The topic for one list is: COUNTRIES IN AFRICA. The topic for the other list is: AMINO ACIDS USED BY HUMANS TO MAKE PROTEIN (there are over three hundred amino acids but only twenty or so are used to make protein in humans).