Page 61 - DCAP408_WEB_PROGRAMMING
P. 61

Unit 2: Creating Static Web Pages




                                                                                                Notes
                 Example:

          <html>
          <body>
          <table  border="1">
          <tr>

              <td>
                <p>This  is  a  paragraph</p>
                <p>This  is  another  paragraph</p>
              </td>

              <td>This  cell  contains  a  table:
                <table  border="1">
             <tr>
                    <td>A</td>

                    <td>B</td>
             </tr>
             <tr>
                    <td>C</td>

                    <td>D</td>
             </tr>
                </table>
              </td>

          </tr>
          <tr>
              <td>This  cell  contains  a  list
             <ul>

                  <li>apples</li>
                  <li>bananas</li>
                  <li>pineapples</li>
             </ul>

              </td>
              <td>HELLO</td>
          </tr>
          </table>

          </body>
          </html>


                                           LOVELY PROFESSIONAL UNIVERSITY                                   55
   56   57   58   59   60   61   62   63   64   65   66