Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5. <title>Scotland's Castles</title>
  6.  
  7. <style>
  8. footer{
  9. clear:both;
  10. }
  11. </style>
  12.  
  13. <script>
  14.  
  15. /*
  16. function photoVersion() {
  17. document.getElementById("").style. ;
  18.  
  19.  
  20.  
  21. }
  22. */
  23. function textVersion() {
  24. document.getElementById("edinburghSection").style.width="1000px";
  25. document.getElementById("edinburghSection").style.marginBottom="30px";
  26.  
  27. document.getElementById("edinburghText").style.textAlign="left";
  28. document.getElementById("edinburghText").style.fontSize="12";
  29. document.getElementById("edinburghText").style.marginBottom="30px";
  30. document.getElementById("edinburghText").style.wordWrap="break";
  31.  
  32. document.getElementById("edinburghImage").style.marginRight="20px";
  33. document.getElementById("edinburghImage").style.width="150px";
  34. document.getElementById("edinburghImage").style.height="120px";
  35. document.getElementById("edinburghImage").style.marginRight="20px";
  36. document.getElementById("edinburghImage").style.float="left";
  37.  
  38. document.getElementById("edinburghHeading").style.fontSize="16";
  39. document.getElementById("edinburghHeading").style.display="block";
  40.  
  41. document.getElementById("stirlingSection").style.width="1000px";
  42.  
  43. document.getElementById("stirlingImage").style.marginLeft="20px";
  44. document.getElementById("stirlingImage").style.width="150px";
  45. document.getElementById("stirlingImage").style.height="120px";
  46. document.getElementById("stirlingImage").style.marginRight="20px";
  47. document.getElementById("stirlingImage").style.float="right";
  48.  
  49. document.getElementById("stirlingHeading").style.fontSize="16";
  50. document.getElementById("stirlingHeading").style.display="block";
  51.  
  52. document.getElementById("stirlingText").style.float="left";
  53. document.getElementById("stirlingText").style.fontSize="12";
  54. document.getElementById("stirlingText").style.wordWrap="break";
  55.  
  56.  
  57.  
  58. }
  59. </script>
  60.  
  61. </head>
  62.  
  63. <body>
  64.  
  65. <header>
  66. <h1>Scotland's Castles</h1>
  67. </header>
  68.  
  69. <div>
  70. <img src="textButton.png" style="margin-right:30px" onclick="textVersion()">
  71. <img src="photoButton.png" onclick="photoVersion()">
  72. </div>
  73.  
  74. <main>
  75.  
  76. <section id="edinburghSection">
  77. <img id="edinburghImage" src="edinburghCastle.jpg">
  78. <h2 id="edinburghHeading">Edinburgh Castle</h2>
  79. <p id="edinburghText">Edinburgh Castle is a historic fortress which dominates Edinburgh's skyline from the Castle Rock. The rock has been occupied since at least the Iron Age and there has been a royal castle on the rock since the 12th century. The site was a royal residence until 1633. <br><br>
  80. As one of the most important strongholds in Scotland, Edinburgh Castle was involved in many conflicts (it's been under seige 26 times) from the Wars of Scottish Independence to the Jacobite rebellion.<br><br>
  81. Few of the present buildings pre-date the 16th century, when the medieval defences were largely destroyed by artillery bombardment. The most notable exceptions are St Margaret's Chapel from the early 12th century, which is regarded as the oldest building in Edinburgh, the Royal Palace and the early-16th-century Great Hall.<br><br>
  82. The British Army is still responsible for some parts of the castle, although its presence is now largely ceremonial. Some of the castle buildings house regimental museums which contribute to its presentation as a tourist attraction.<br><br>
  83. The castle, in the care of Historic Scotland, is Scotland's most-visited paid tourist attraction, with over 2 million visitors in 2017.</p>
  84. </section>
  85.  
  86. <section id="stirlingSection">
  87. <img id="stirlingImage" src="stirlingCastle.jpg">
  88. <h2 id="stirlingHeading">Stirling Castle</h2>
  89. <p id="stirlingText">Stirling Castle is one of the largest castles in Scotland. Sitting atop Castle Hill, it is important both historically and architecturally. It is surrounded on three sides by steep cliffs, giving it a strong defensive position guarding the farthest downstream crossing of the River Forth. This made it an important fortification in the region from the earliest times.<br><br>
  90. Most of the principal buildings of the castle date from the fifteenth and sixteenth centuries. A few structures of the fourteenth century remain, while the outer defences fronting the town date from the early eighteenth century.<br><br>
  91. Before the union with England, Stirling Castle was also one of the most used Scottish royal residences, very much a palace as well as a fortress. Several Scottish Kings and Queens have been crowned at Stirling, including Mary, Queen of Scots, in 1542, and others were born or died there.<br><br>
  92. There have been around eight sieges of Stirling Castle, including several during the Wars of Scottish Independence, with the last being in 1746, when Bonnie Prince Charlie unsuccessfully tried to take the castle. Stirling Castle is a Scheduled Ancient Monument, and is now a tourist attraction managed by Historic Environment Scotland.</p>
  93. </section>
  94.  
  95. </main>
  96.  
  97. <footer>
  98. <p>To add a book request email: tommybaker@qualscothr.org.uk</p>
  99. </footer>
  100.  
  101. </body>
  102. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement