Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.81 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="pl">
  3. <head>
  4. <style>
  5.  
  6. body {
  7. background-color: #EEEE98;
  8. font-family: Calibri;
  9.  
  10.  
  11. }
  12. table{
  13. border: 2px solid black;
  14. border-collapse: separate;
  15. width: 100%;
  16. text-align: center;
  17. }
  18. h1{
  19. text-align: center;
  20. }
  21.  
  22. th, td, tr{
  23. border: 1px solid black;
  24. }
  25. h1{
  26. text-align: center;
  27. }
  28. .kolor1{
  29. background-color: #9966FF;
  30. }
  31. .kolor2{
  32. background-color: #6599FF;
  33. }
  34. .kolor3{
  35. background-color: #CECCFE
  36. }
  37. .prawo{
  38. text-align: right;
  39. }
  40. .lewo{
  41. text-align: left;
  42. }
  43.  
  44.  
  45. </style>
  46. <!--
  47. tu będzie nagłówek strony
  48. -->
  49. <meta charset="utf-8">
  50. <title>Szablon HTML 5</title>
  51. <link rel='shortcut icon' href='favicon.ico'>
  52.  
  53. <meta name="author" content="Jakub Borkowski">
  54. <meta name="e-mail" content="jakub.borkowski@zs2-stargard.edu.pl">
  55. <meta name="designer" content="Jakub Borkowski">
  56. <meta name="copyright" content="Jakub Borkowski">
  57.  
  58. <meta name="keywords" content="youtube, you, tube, gameplay, letsplay, tech, it, hardware, software">
  59. <meta name="description" content="Strona informacyjna">
  60.  
  61. </head>
  62. <body>
  63. <h1> Przykładowa tabela </h1>
  64. <table width=400 border>
  65. <caption align=top> Wzrost produkcji masła i margaryny w latach 1991-1995 </caption>
  66. <tr>
  67. <td>&nbsp;</td>
  68. <th colspan=2>1991-1992</th>
  69. <th colspan=3>1993-1995</th>
  70. </tr>
  71. <tr align="center">
  72. <th>Masło</th>
  73. <td colspan=2>2390</td>
  74. <td colspan=3>4350</td>
  75. </tr>
  76. <tr align="center">
  77. <th>Margaryna</th>
  78. <td>2390</td>
  79. <td>4350</td>
  80. <td>980</td>
  81. <td>1150</td>
  82. <td>1320</td>
  83. </tr>
  84. </table>
  85.  
  86. <table>
  87. <th style="text-transform: uppercase;: " colspan="8" class="kolor3"> Stypendium za nauke w roku szkolnym 2001/2002 </th>
  88. <tr>
  89. <td colspan="8">&nbsp;</td>
  90. </tr>
  91. <tr>
  92. <td colspan="1" class="lewo">średnia minimalna </td>
  93. <td colspan="7" class="lewo" >3,50 </td>
  94. </tr>
  95. <tr>
  96. <td colspan="10">&nbsp;</td>
  97. </tr>
  98. <tr class="kolor2">
  99. <th colspan="2">Nazwisko</th>
  100. <th>j.pol</th>
  101. <th>j.ang</th>
  102. <th>inf</th>
  103. <th>Średnia ocen</th>
  104. <th>Stypendium</th>
  105. </tr>
  106. <tr>
  107. <td colspan="2" class="lewo"> Nowak</td>
  108. <td class="prawo"> 5</td>
  109. <td class="prawo"> 4</td>
  110. <td class="prawo"> 3</td>
  111. <td class="prawo"> ?</td>
  112. <td class="prawo"> ?</td>
  113.  
  114. </tr>
  115. <tr>
  116. <td colspan="2" class="lewo"> Kowalski</td>
  117. <td class="prawo"> 3</td>
  118. <td class="prawo"> 4</td>
  119. <td class="prawo"> 5</td>
  120. <td class="prawo"> ?</td>
  121. <td class="prawo"> ?</td>
  122. </tr>
  123. <tr>
  124. <td colspan="2" class="lewo"> Maciejewski</td>
  125. <td class="prawo"> 4</td>
  126. <td class="prawo"> 4</td>
  127. <td class="prawo"> 4</td>
  128. <td class="prawo"> ?</td>
  129. <td class="prawo"> ?</td>
  130. </tr>
  131. <tr class="kolor1">
  132. <td colspan="2" class="prawo"> Średnia z przedmiotu</td>
  133. <td class="prawo"> ?</td>
  134. <td class="prawo"> ?</td>
  135. <td class="prawo"> ?</td>
  136. <td colspan="2" rowspan="3">Zespół Szkół Nr 2</td>
  137. </tr>
  138. <tr class="kolor1">
  139. <td colspan="2" class="prawo"> Najlepsza ocena</td>
  140. <td class="prawo"> ?</td>
  141. <td class="prawo"> ?</td>
  142. <td class="prawo"> ?</td>
  143. </tr>
  144. <tr class="kolor1">
  145. <td colspan="2" class="prawo"> Najgorsza ocena</td>
  146. <td class="prawo"> ?</td>
  147. <td class="prawo"> ?</td>
  148. <td class="prawo"> ?</td>
  149. </tr>
  150. </table>
  151.  
  152.  
  153.  
  154. </body>
  155. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement