Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <link rel="stylesheet" type="text/css" href="mystyle.css">
  5. <title>Prvi zadatak</title>
  6. </head>
  7. <body>
  8. <h1>Gibberish</h1>
  9.  
  10. <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
  11. , when an unknown printer took a galley of type and scrambled it to make a type specimen book.
  12. </p>
  13.  
  14. <p id="odlomak2">It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
  15.  
  16. <p>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
  17. with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  18. </p>
  19.  
  20. <p>Contrary to popular belief, Lorem Ipsum is not simply random text.
  21. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
  22. </p>
  23. <a href="druga.html">Veza na drugu straniu</a>
  24. </body>
  25. </html>
  26.  
  27. p:first-of-type{
  28. color: red;
  29. font-family: "Times New Roman";
  30. text-align: center;
  31. font-size: 1.1em;
  32.  
  33. }
  34. #odlomak2{
  35. font-family: "Verdana";
  36. text-align: justify;
  37. }
  38. p:nth-of-type(n+3){
  39. text-align: left;
  40. font-style: italic;
  41. font-family: "Comic Sans";
  42. }
  43. h1{
  44. color: red;
  45. }
  46. a{
  47. color:gray;
  48. }
  49. a:hover{
  50. color:black;
  51. }
  52.  
  53.  
  54. <!DOCTYPE html>
  55. <html lang="en">
  56. <head>
  57. <link rel="stylesheet" type="text/css" href="oblikovanje2.css">
  58. <title>Drugi</title>
  59. </head>
  60. <body>
  61. <ul id="oznaka">
  62. <li><a href="index.html">Link1</a></li>
  63. <li><a href="index.html">Link2</a></li>
  64. <li><a href="index.html">Link3</a></li>
  65. <li><a href="index.html">Link4</a></li>
  66. <li><a href="index.html">Link5</a></li>
  67. </ul>
  68. </body>
  69. </html>
  70.  
  71. li{
  72. display: inline;
  73. border-width: 2px;
  74. color: #345678;
  75. border-style: solid;
  76. padding: 6px 15px 6px 15px;
  77. margin: 8px;
  78. }
  79. #oznaka a:link{
  80. border-width: 2px;
  81. border-style: solid;
  82. border-color: greenyellow;
  83. color: #345678;
  84. background-color: #16cae1;
  85. text-decoration-line: none;
  86. }
  87. #oznaka a:hover{
  88. background-color: red;
  89. border-color: magenta;
  90. }
  91. #oznaka a:active{
  92. color: red;
  93. background-color: green;
  94. border-color: red;
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement