Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.28 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.  
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>Styles </title>
  7.  
  8. <style type="text/css">
  9.  
  10.  
  11.     body
  12.         {
  13.             font-family: Arial sans-serif;
  14.             font-size: 1em;
  15.             background-color:white;
  16.             color: black;
  17.         }
  18.  
  19.     h1
  20.         {
  21.             font: bold 2em;
  22.             width: 400px;
  23.             height: 100px;
  24.             background-color: yellow;
  25.             border: thin;
  26.         }
  27.        
  28.     h2
  29.         {
  30.             font-size: 1.5em;
  31.             text-decoration: underline;
  32.         }
  33.        
  34.     h2: before
  35.         {
  36.             img: (Images/ChromeIcon.png);
  37.         }
  38.    
  39.     li
  40.         {
  41.             list-style-type: lower-greek;
  42.         }
  43.     table
  44.         {
  45.             width: 600px;
  46.             table-layout: fixed;
  47.             border: solid black 1px;
  48.             border-spacing: 4px;
  49.         }
  50.     #tab
  51.         {
  52.             background-color: #E0E0E0;
  53.         }
  54.     td
  55.         {
  56.             text-align: left;
  57.             vertical-align: top;
  58.         }
  59.     p   {
  60.             text-align: justify;
  61.             width: 600px;
  62.             border: double blue 4px;
  63.         }
  64. </style>
  65.  
  66.  
  67.  
  68. </head>
  69.  
  70. <body>
  71. <header style="border: black thin solid">
  72. <h1> Styles : bordures, listes, tableax et paragraphes </h1>
  73. </header>
  74.  
  75. <h2> Les lettres grecques </h2>
  76.  
  77. <ol>
  78. <li> alpha</li>
  79. <li> beta</li>
  80. <li> gamma</li>
  81. <li> delta </li>
  82. </ol>
  83.  
  84. <h2> Un tableau </h2>
  85.  
  86. <table border="1">
  87.  
  88.     <tr>
  89.         <td colspan="3">Information sur le ville de Metz</td>
  90.     </tr>
  91.    
  92.    
  93.     <tr>
  94.         <td rowspan="3" > Localisation </td>
  95.         <td id="tab" > Pays </td>
  96.         <td > France </td>
  97.     </tr>
  98.  
  99.     <tr>
  100.         <td id="tab" >  R&eacute;gions </td>
  101.         <td> Lorraine </td>
  102.     </tr>
  103.  
  104.     <tr>
  105.         <td id="tab" > D&eacute;partement</td>
  106.         <td> Moselle </td>
  107.     </tr>
  108.  
  109.     <tr>
  110.         <td rowspan="2"> Donn&eacute;es chiffr&eacute;es </td>
  111.    
  112.         <td id="tab" > Superficie </td>
  113.         <td> 4194 ha = 41,94 km&sup2; </td>    
  114.     </tr>
  115.  
  116.     <tr>
  117.         <td id="tab" > Population </td>
  118.         <td> 124300 hab </td>  
  119.     </tr>
  120. </table>
  121.  
  122.  
  123. <h2>Un paragraphe</h2>
  124.     <p>
  125.         Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  126.         Phasellus finibus malesuada eros id mattis. Integer id volutpat velit.
  127.         Fusce leo ligula, tristique eu arcu ac, finibus ultricies lorem.
  128.         Aenean nec dolor bibendum nisl pellentesque sollicitudin sed eget urna.
  129.         Aenean euismod turpis eget augue fringilla scelerisque ut eget sem.
  130.         Pellentesque lacinia nunc at nunc dictum, quis lacinia odio venenatis.
  131.         Nullam scelerisque eleifend sapien. Sed interdum consectetur mi at convallis.
  132.     </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement