Friday, 27 February 2015

JOUR3: structuration d'une page web a l'aide des table html

<html>
      <head>
            <title>Jour trois suite | tables</title>
      </head>

      <body>
           <table border="0" width="1000px" align="center">
           <tr>
                     <td bgcolor="indigo" width="800px" height="100px" colspan="3">menu va ici</td>
                 </tr>
                 <tr>
                     <td bgcolor="#eee" width="800px" height="300px">contenu 1</td>
                     <td bgcolor="#eee" width="800px" height="300px">contenu 2</td>
                     <td bgcolor="#eee" width="800px" height="300px">contenu 3</td>
                 </tr>
                 <tr>
                     <td bgcolor="#ccc" width="800px" height="100px">infrapaginales</td>
                     <td bgcolor="#ccc" width="800px" height="100px">infrapaginales</td>
                     <td bgcolor="#ccc" width="800px" height="100px">infrapaginales</td>
                 </tr>
         

           </table>

           <!-- le program d'aujourdhui se base sur la structuration d'une page  a laide d'une table -->
           <!-- on cree une table ,on lui donne une bordure de 0 donc invisible -->
           <!-- on cree trois rangees , qui contiennent trois colones   -->
           <!-- la premiere colonne de la rangee premiere a un attribut special: colspan=3 -->
           <!-- ca permet d'elargir cette colonne a equivaloir les trois colonnes  d'en bas -->
           <!--  vous remaquerez aussi le bgcolor qui donne la couleur a la colonne. NB <td> -->
           <!--  vous constaterez aussi le width et le heigh en pixel . NB <td> -->






      </body>

</html>

No comments:

Post a Comment