Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 109 - 2626_South Point_C-7
P. 109

    Example with ‘start’ attribute

                       <!DOCTYPE html>
                       <HTML>
                       <HEAD>
                       <TITLE>try.html</TITLE>
                       </HEAD>
                       <BODY>
                       <OL TYPE=A START=5>
                         <LI>Mobile phone
                         <LI>Tablets
                         <LI>Laptops
                       </OL>
                       <OL TYPE=I START=8>
                         <LI>Mobile phone
                         <LI>Tablets
                         <LI>Laptops
                       </OL>
                       </BODY>
                                                                              Ordered list with ‘start’ attribute.
                       </HTML>

                     Nested List

                     In HTML, a nested list is a list within another list. You can nest ordered (<OL>) and unordered (<UL>)
                     lists to represent hierarchical or multi-level information.

                       <!DOCTYPE html>
                       <HTML>
                       <HEAD><TITLE>Nested List Example</TITLE></HEAD>
                       <BODY>
                       <H2>Software List</H2>
                       <OL TYPE="I">
                           <LI>Office
                               <UL>
                                   <LI>Word</LI>
                                   <LI>Excel</LI>
                                   <LI>PowerPoint</LI>
                               </UL>
                           </LI>
                           <LI>Adobe Software
                               <UL>
                                   <LI>Animate CC</LI>
                                   <LI>Photoshop CC</LI>
                               </UL>
                           </LI>
                       </OL>
                       </BODY>
                                                                                               ??
                       </HTML>

                                                                                                      More on HTML5   107

| 104 105 106 107 108 109 110 111 112 113 114 |