hercioneto

pw1-2017 listas.html

Sep 14th, 2017
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.26 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <!-- Arquivo: listas.html -->
  3. <html>
  4.     <head>
  5.         <meta charset="utf-8"/>
  6.         <title>
  7.             LISTAS
  8.         </title>
  9. <style>
  10. body { font-size: 20px; font-family: "Arial"; color: #666; }
  11. p { font-size: 20px; }
  12. ul { color:red; }
  13. ol { font-size: 25px; }
  14. .lista { color: #333; font-family: "Arial"; font-size:15px; }
  15. .horizontal li { background-color: #000; color: #fff;
  16.             float: left;
  17.             list-style: none;
  18.             padding: 10px;
  19.             }
  20. .horizontal a { color: #fff; }         
  21. </style>       
  22.     </head>
  23.     <body>
  24.     <a href="uai.html">dfsgsdfsd</a>
  25.     df gh jtgi byih rtniohu jfgh nlijhkl hljmghol jçlhj  fk,
  26.     <p>um paragrafo</p>
  27.     <p class="lista">Qual será a cor?</p>
  28.     Vamos escrever uma lista (ul)
  29.     <ul class="lista">
  30.         <li>Um elemento</li>
  31.         <li>outro elemento</li>
  32.         <li>terceiro elemento</li>
  33.     </ul>
  34.     Vamos escrever uma lista ordenada
  35.     <ol>
  36.         <li>Um elemento</li>
  37.         <li>outro elemento</li>
  38.         <li>terceiro elemento</li>
  39.     </ol>
  40.     Vamos fazer uma lista dentro de outra lista
  41.     <ul>
  42.         <li> Um item </li>
  43.         <ul>
  44.             <li>Sub item</li>
  45.         </ul>
  46.         <li>outro item</li>
  47.             <ol>
  48.             <li>sub</li>
  49.             </ol>
  50.     </ul>
  51.     <br/>
  52.     <ul class="horizontal">
  53.         <li><a href="index.html">Item 1</a></li>
  54.         <li>Item 2</li>
  55.         <li>Item 3</li>
  56.         <li>Item 4</li>
  57.     </ul>
  58.  
  59.    
  60.     </body>
  61. </html>
Advertisement
Add Comment
Please, Sign In to add comment