Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>index</title>
  5. <style>img {display: block;margin: auto;}</style>
  6.  
  7. <style>
  8. body {
  9. background-color: #fd5e53;
  10. }
  11. .center {
  12. display: block;
  13. margin-left: auto;
  14. margin-right: auto;
  15. }
  16. ul {
  17. list-style-type: none;
  18. margin: 0;
  19. padding: 0;
  20. overflow: hidden;
  21. background-color: #333;
  22. }
  23.  
  24. li {
  25. float: left;
  26. }
  27.  
  28. li a {
  29. display: block;
  30. color: white;
  31. text-align: center;
  32. padding: 14px 16px;
  33. text-decoration: none;
  34. }
  35.  
  36. li a:hover {
  37. background-color: #111;
  38. }
  39. </style>
  40.  
  41. <meta name="viewport" content="width=device-width, initial-scale=1">
  42. <style>
  43. * {box-sizing: border-box;}
  44. body {font-family: Verdana, sans-serif;}
  45. .mySlides {display: none;}
  46. img {vertical-align: middle;}
  47.  
  48. /* Slideshow container */
  49. .slideshow-container {
  50. max-width: 1000px;
  51. position: relative;
  52. margin: auto;
  53. }
  54.  
  55. /* Caption text */
  56. .text {
  57. color: #f2f2f2;
  58. font-size: 15px;
  59. padding: 8px 12px;
  60. position: absolute;
  61. bottom: 8px;
  62. width: 100%;
  63. text-align: center;
  64. }
  65.  
  66. /* Number text (1/3 etc) */
  67. .numbertext {
  68. color: #f2f2f2;
  69. font-size: 12px;
  70. padding: 8px 12px;
  71. position: absolute;
  72. top: 0;
  73. }
  74.  
  75. /* The dots/bullets/indicators */
  76. .dot {
  77. height: 15px;
  78. width: 15px;
  79. margin: 0 2px;
  80. background-color: #bbb;
  81. border-radius: 50%;
  82. display: inline-block;
  83. transition: background-color 0.6s ease;
  84. }
  85.  
  86. .active {
  87. background-color: #717171;
  88. }
  89.  
  90. /* Fading animation */
  91. .fade {
  92. -webkit-animation-name: fade;
  93. -webkit-animation-duration: 1.5s;
  94. animation-name: fade;
  95. animation-duration: 1.5s;
  96. }
  97.  
  98. @-webkit-keyframes fade {
  99. from {opacity: .4}
  100. to {opacity: 1}
  101. }
  102.  
  103. @keyframes fade {
  104. from {opacity: .4}
  105. to {opacity: 1}
  106. }
  107.  
  108. /* On smaller screens, decrease text size */
  109. @media only screen and (max-width: 300px) {
  110. .text {font-size: 11px}
  111. }
  112. </style>
  113.  
  114. </head>
  115.  
  116. <body>
  117.  
  118. <ul>
  119. <li><a href="index.html">Home Page</a></li>
  120. <li><a href="touristdestinations.html">Tourist Destinations</a></li>
  121. <li><a href="famousplaces.html">Famous Places</a></li>
  122. <li><a href="historicalsites.html">Historical Sites</a></li>
  123. </ul>
  124. <h1 align="center" style="font-family:verdana;"><br>Tourist Destinations In Lithuania<br><br></h1>
  125. <h2 align="center" style="font-family:verdana;"><br>Vilnius<br><br></h2>
  126.  
  127.  
  128. <p align="center">Vilnius, Lithuania’s capital, is known for its baroque architecture, seen especially in its medieval Old Town.<br>
  129. But the buildings lining this district’s partially cobblestoned streets reflect diverse styles and eras, from the neoclassical Vilnius Cathedral to Gothic St. Anne's Church.<br>
  130. The 16th-century Gate of Dawn, containing a shrine with a sacred Virgin Mary icon, once guarded an entrance to the original city.<br></p>
  131.  
  132. <div class="slideshow-container">
  133.  
  134. <div class="mySlides fade">
  135. <div class="numbertext">1 / 3</div>
  136. <img src="images/Vilnus-Lithuania.jpg" style="width:100%">
  137. <div class="text">Image of Vilnius (1)</div>
  138. </div>
  139.  
  140. <div class="mySlides fade">
  141. <div class="numbertext">2 / 3</div>
  142. <img src="images/Vilnus-Lithuania2.jpg" style="width:100%">
  143. <div class="text">Image of Vilnius (2)</div>
  144. </div>
  145.  
  146. <div class="mySlides fade">
  147. <div class="numbertext">3 / 3</div>
  148. <img src="images/Vilnus-Lithuania3.jpg" style="width:100%">
  149. <div class="text">Image of Vilnius (3)</div>
  150. </div>
  151.  
  152. </div>
  153. <br>
  154.  
  155. <div style="text-align:center">
  156. <span class="dot"></span>
  157. <span class="dot"></span>
  158. <span class="dot"></span>
  159. </div>
  160.  
  161. <script>
  162. var slideIndex = 0;
  163. showSlides();
  164.  
  165. function showSlides() {
  166. var i;
  167. var slides = document.getElementsByClassName("mySlides");
  168. var dots = document.getElementsByClassName("dot");
  169. for (i = 0; i < slides.length; i++) {
  170. slides[i].style.display = "none";
  171. }
  172. slideIndex++;
  173. if (slideIndex > slides.length) {slideIndex = 1}
  174. for (i = 0; i < dots.length; i++) {
  175. dots[i].className = dots[i].className.replace(" active", "");
  176. }
  177. slides[slideIndex-1].style.display = "block";
  178. dots[slideIndex-1].className += " active";
  179. setTimeout(showSlides, 4000); // Change image every 4 seconds <---
  180. }
  181. </script>
  182.  
  183. <h2 align="center" style="font-family:verdana;"><br>Trakai Castle<br><br></h2>
  184.  
  185.  
  186. <p align="center">Trakai is a lake resort and historically important city that sits close to Vilnius and makes a nice day trip if you are looking to get out of town.<br>
  187. Trakai dates from the 13th century and is also the home of the Trakai Historical National Park that dates from 1991.<br>
  188. One of the main sights in the city is the Island Castle which is also the host of the Trakai Castle Festival and the entire town is surrounded by pretty water.<br>
  189. In the wider Trakai region there are some 200 lakes to enjoy during the warmer months.<br></p>
  190.  
  191.  
  192. <img src="images/Trakai_Castle.jpg"alt=”A castle in lithuania” style="width:1005px;height:700px;">
  193.  
  194.  
  195. <h2 align="center" style="font-family:verdana;"><br>The Devil’s Museum<br><br></h2>
  196.  
  197.  
  198. <p align="center">The Devil’s Museum is found in Kaunas and as you would expect from the name it has a huge collection of art work that depict images of the devil, witches, and a range of other wicked mythological creatures.<br>
  199. You will find over 3,000 different pieces here and visitors can even donate items to the collection.<br>
  200. There are a huge range of works here that use different materials such as ceramics, textiles, and paintings and you can even find other interesting items like pebbles that feature images of the devil.<br></p>
  201.  
  202.  
  203. <img src="images/DevilsMuseum.jpg"alt=”The devils museum” style="width:1005px;height:700px;">
  204.  
  205.  
  206.  
  207. <button onclick="goBack()">Go Back</button>
  208. <script>
  209. function goBack() {
  210. window.history.back();
  211. }
  212. </script>
  213.  
  214.  
  215.  
  216. <input type="button" name="b1" value="Next page" onclick="location.href='famousplaces.html'">
  217.  
  218. </body>
  219. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement