lunes, 8 de agosto de 2016

HTML,tablas

Durante la clase, el Ing nos enseñó a crear tablas en Html; esta es la estructura general:

<table>
<tr>
<td>texto</td>
</tr>
</table>

Ejemplo:

<html>
    <head>
        <title>
Ejemplo del uso de tablas - aprenderaprogramar.com</title>
    </head>
    <body>
        <table 
border="2px"> <!-- Lo cambiaremos por CSS -->
           <tr>
              <td>
Celda 1</td>
              <td>
Celda 2</td>
              <td>
Celda 3</td>
          </tr>
          <tr>
              <td>
Celda 4</td>
              <td>
Celda 5</td>
              <td>
Celda 6</td>
          </tr>
        </table>
    </body>
</html>


Así se visualiza esta tabla: