Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>"Sprawdzian html"</title>
  5. <meta name="decrtiption" content="cos, cos">
  6. <meta name="author" content="Kacper Nogajewski">
  7. <meta charset="utf-8">
  8. <link rel="stylesheet" href="cwiczenie2.css" type="text/css"/>
  9. </head>
  10.  
  11. <body>
  12. <div id="blok1">
  13. <p>Blok tekstu w kolorze czerwonym.</p>
  14. </div>
  15. </br>
  16. <div id="blok2">
  17. <h1 style="color:black; background: blue;">Nagłówek stopnia pierwszego również w kolorze czerwonym.</h1>
  18. </div>
  19. </br>
  20. <ul>
  21. <li>3</li>
  22. <li>2</li>
  23. <li>1</li>
  24. </ul>
  25. <a href="www.google.com"> cos </a>
  26. <table style="margin-left:auto; margin-right: auto;">
  27. <tr>
  28. <th> 1 </th>
  29. <th> 1 </th>
  30. <th> 1 </th>
  31. <th> 1 </th>
  32. <th> 1 </th>
  33. <th> 1 </th>
  34. </tr>
  35. <tr>
  36. <th> 1 </th>
  37. <th> 1 </th>
  38. <th> 1 </th>
  39. <th> 1 </th>
  40. <th> 1 </th>
  41. <th> 1 </th>
  42. </tr>
  43. <tr>
  44. <th> 1 </th>
  45. <th> 1 </th>
  46. <th> 1 </th>
  47. <th> 1 </th>
  48. <th> 1 </th>
  49. <th> 1 </th>
  50. </tr>
  51.  
  52. </table>
  53. </html>
  54.  
  55. ______________________________________________________________________________________________________________________
  56. __________________________________
  57.  
  58. #blok1
  59. {
  60. background-color: red;
  61. color: black;
  62. text-align: center;
  63. margin-top:1cm;
  64. margin-bottom:1cm;
  65. }
  66.  
  67. #blok2
  68. {
  69. background-color: blue;
  70. color: black;
  71. text-align: center;
  72. margin-top:1cm;
  73. margin-bottom:1cm;
  74. }
  75.  
  76. body
  77. {
  78. margin: 0;
  79. }
  80.  
  81. ul
  82. {
  83. color: black;
  84. background-color: white;
  85. }
  86.  
  87. a
  88. {
  89. color: white;
  90. }
  91.  
  92. tr, th
  93. {
  94. text-align: center;
  95. border-style: double;
  96. border-size: 1px 2px;
  97. border-bottom-left-radius: 30px;
  98. border-bottom-right-radius: 30px;
  99. border-top-left-radius: 30px;
  100. border-top-right-radius: 30px;
  101. border-color: green;
  102. color: green;
  103. margin-top: 20px;
  104. height: 80px;
  105. width: 80px;
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement