Advertisement
Carotte

Drapeau

Jan 10th, 2020
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.55 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.   <!-- librement inspiré de DIU-EIL-WEB.html Université de Lyon 2019 -->
  4.   <head>
  5.     <meta charset="utf-8" />
  6.     <title>1ères NSI : programmation WEB</title>
  7.     <!-- ici on lie le style CSS externe avec la balise <link> -->
  8.     <link href="1NSI-WEB-1.css" rel="stylesheet" media="all" type="text/css">
  9.   </head>
  10.   <body>
  11.     <header id="header">
  12.       <h1>Activité pratique &laquo;découverte de la programmation web&raquo;</h1>
  13.       <h2>codes couleur, dimensions et style CSS</h2>
  14.     </header>
  15.     <main>
  16.       <h2>Construction de drapeaux "simples" de la France, de l'Italie et du Mali à bandes verticales par codage HMTL plutôt que par insertion d'image.</h2>
  17.       <table style="width:50%;" border="1" cellspacing="2" cellpadding="3" class="Tableau1">
  18.         <colgroup>
  19.           <col width="30%"/>
  20.           <col width="70%"/>
  21.         </colgroup>
  22.         <tr>
  23.           <td style="text-align:left;width:30%">
  24.             <p>France</p>
  25.           </td>
  26.           <td bgcolor="#bdbdbd" align="center">
  27.             <table style="width:80%" border="0" cellspacing="0">
  28.               <tr border="1">
  29.                 <td height="250px" width="30%" bgcolor="#022396"></td>
  30.                 <td height="250px" width="30%" bgcolor="#ffffff"></td>
  31.                 <td height="250px" width="30%" bgcolor="#ed2839"></td>
  32.               </tr>
  33.             </table>
  34.           </td>
  35.         </tr>
  36.       </table>
  37.       <table style="width:50%;" border="1" cellspacing="2" cellpadding="3" class="Tableau1">
  38.         <colgroup>
  39.           <col width="30%"/>
  40.           <col width="70%"/>
  41.         </colgroup>
  42.         <tr>
  43.           <td style="text-align:left;width:30%">
  44.             <p>Italie</p>
  45.           </td>
  46.           <td bgcolor="#bdbdbd" align="center">
  47.             <table style="width:80%" border="0" cellspacing="0">
  48.               <tr border="1">
  49.                 <td height="250px" width="30%" bgcolor="#02a104"></td>
  50.                 <td height="250px" width="30%" bgcolor="#ffffff"></td>
  51.                 <td height="250px" width="30%" bgcolor="#ed2839"></td>
  52.               </tr>
  53.             </table>
  54.           </td>
  55.         </tr>
  56.       </table>
  57.       <table style="width:50%;" border="1" cellspacing="2" cellpadding="3" class="Tableau1">
  58.         <colgroup>
  59.           <col width="30%"/>
  60.           <col width="70%"/>
  61.         </colgroup>
  62.         <tr>
  63.           <td style="text-align:left;width:30%">
  64.             <p>Mail</p>
  65.           </td>
  66.           <td bgcolor="#bdbdbd" align="center">
  67.             <table style="width:80%" border="0" cellspacing="0">
  68.               <tr border="1">
  69.                 <td height="250px" width="30%" bgcolor="#01b146"></td>
  70.                 <td height="250px" width="30%" bgcolor="#f6c902"></td>
  71.                 <td height="250px" width="30%" bgcolor="#c60024"></td>
  72.               </tr>
  73.             </table>
  74.           </td>
  75.         </tr>
  76.       </table>
  77.       <h1></h1><!-- Ligne vide -->
  78.     </main>
  79.     <footer id="footer">
  80.       Créé par D.VAITON - Lycée JM CARRIAT - Bourg-en-Bresse - 10 Janvier 2020
  81.     </footer>
  82.   </body>
  83. </html>
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. /* CSS - Cascading Style Sheet */
  116. /* Palette color codes */
  117. /* Palette URL: http://paletton.com/#uid=7080s0kllllaFw0g0qFqFg0w0aF */
  118. /* inspiré de DIU-EIL-WEB.css Univesité de Lyon 2019 */
  119.  
  120.  
  121. header, menu, footer {
  122.     padding: 1px 0;
  123.     font-family: Verdana, Geneva, Tahoma, sans-serif;
  124. }
  125.  
  126. header {
  127.     background-color: #daa684;
  128.     text-align: center;
  129.     border-radius: 1em 1em 1em 1em;
  130. }
  131.  
  132. footer {
  133.     background-color: #46aaaa;
  134.     text-align: center;
  135.     clear: both;
  136.     border-radius: 1em 1em 1em 1em;
  137. }
  138.  
  139. h1 {
  140.     font-family: Tahoma, Verdana, Geneva, sans-serif;
  141.     font-size: 2em;
  142. }
  143.  
  144. h2 {
  145.     font-family: Geneva, Verdana, Tahoma, sans-serif;
  146.     font-size: 1.2em;
  147. }
  148.  
  149. p {
  150.     font-family: Verdana, Geneva, Tahoma, sans-serif;
  151.     text-align: center;
  152.     font-size: 2.5em;
  153. }
  154.  
  155. /*
  156. nav  {
  157.     padding-left: 2em;
  158.     display: table-cell;
  159.     width: 12em;
  160.     background-color: #AA7239;
  161. }
  162. */
  163.  
  164. main {
  165.     display: table;
  166.     margin: auto;
  167.     width: 100%;
  168.     background-color: #ffffff;
  169. }
  170. /*
  171. section {
  172.     padding-left: 4em;
  173.     padding-right: 4em;
  174. }
  175. */
  176.  
  177. /*
  178. aside {
  179.   width: 30%;
  180.   padding-left: .5rem;
  181.   margin-left: .5rem;
  182.   float: right;
  183.   box-shadow: inset 5px 0 5px -5px #AA7239;
  184.   font-style: italic;
  185. }
  186. */
  187. .dot {
  188.   pointer-events: none;
  189.   height: 50px;
  190.   width: 50px;
  191.   background-color: #bbb;
  192.   border-radius: 50%;
  193.   display: inline-block;
  194.   position:absolute;
  195. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement