Page 95 - CA_165_V2.0_Flipbook
P. 95

The ‘TYPE’ attribute defines the type of bullets that is in the list. For example: disc, square, circle, etc. Some
                 values of ‘TYPE’ attribute which are used in <UL> tag are:

                                                      Type Value             Style

                                                          disc

                                                          circle

                                                         square


                 The syntax for using the <UL> tag is as follows:

                   <UL TYPE = "Value">
                   <LI> List1
                    ...............

                   </UL>
                 The following HTML code uses the <UL> tag to create two unordered lists with different bullet styles:

                 <HTML>
                 <HEAD>
                 <TITLE> USING UN-ORDERED LIST</TITLE>

                 </HEAD>
                 <BODY BGCOLOR = "PINK">
                 <H1> OpenOffice Suite</H1>

                 <UL Type = "DISC">
                        <LI> OpenOffice Writer</LI>

                        <LI> OpenOffice Calc</LI>
                        <LI> OpenOffice Impress</LI>
                        <LI> OpenOffice Draw</LI>
                        <LI> OpenOffice Base</LI>

                 </UL>
                 <UL Type = "SQUARE">

                        <LI> OpenOffice Writer</LI>
                        <LI> OpenOffice Calc</LI>
                        <LI> OpenOffice Impress</LI>

                        <LI> OpenOffice Draw</LI>
                        <LI> OpenOffice Base</LI>
                 </UL>

                 </BODY>
                 </HTML>






                                                                                         Introduction to HTML    93
   90   91   92   93   94   95   96   97   98   99   100