Page 55 - DCAP408_WEB_PROGRAMMING
P. 55

Unit 2: Creating Static Web Pages




                  <li>Advanced  Java</li>                                                       Notes
              </ul>
              </li>
              <li>.Net</li>
          </ul>
          </body>
          </html>
          The output is shown in Figure 2.3.

                                            Figure  2.3




























          Ordered Lists

          An ordered list is also a list of items. The list items are marked with numbers.
          An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
          <ol>
          <li>Coffee</li>
          <li>Milk</li>
          </ol>
          Here is how it looks in a browser:
          1.   Coffee
          2.   Milk




             Notes  Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.








                                           LOVELY PROFESSIONAL UNIVERSITY                                   49
   50   51   52   53   54   55   56   57   58   59   60