{"id":1879,"date":"2018-03-26T17:21:54","date_gmt":"2018-03-26T17:21:54","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1879"},"modified":"2018-03-26T17:37:34","modified_gmt":"2018-03-26T17:37:34","slug":"bge-html-links","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2018\/03\/26\/bge-html-links\/","title":{"rendered":"BGE &#8211; HTML Links"},"content":{"rendered":"<p>The anchor tag <strong>&lt;a&gt;&lt;\/a&gt;<\/strong> in html 5 is used to create a hyperlink between two documents. The &lt;a&gt;&lt;\/a&gt; surrounds text or an image that then is used to activate the link stored in the <strong>href<\/strong> <strong>attribute<\/strong>.<\/p>\n<pre class=\"brush: xml; highlight: [9]; title: Page1.html; notranslate\" title=\"Page1.html\">\r\n\r\n&lt;!doctype html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;title&gt; Page 1 &lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h1&gt;Page 1&lt;\/h1&gt;\r\n&lt;p&gt;\r\nThis is a &lt;a href=&quot;page2.html&quot;&gt;link&lt;\/a&gt; to page 2\r\n&lt;\/p&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n\r\n<\/pre>\n<p>In the example above the word <strong>link<\/strong> is linked to <strong>page2.html<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The anchor tag &lt;a&gt;&lt;\/a&gt; in html 5 is used to create a hyperlink between two documents. The &lt;a&gt;&lt;\/a&gt; surrounds text or an image that then is used to activate the link stored in the href attribute. &lt;!doctype html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt; Page 1 &lt;\/title&gt; &lt;\/head&gt; &lt;body&gt; &lt;h1&gt;Page 1&lt;\/h1&gt; &lt;p&gt; This is a &lt;a href=&quot;page2.html&quot;&gt;link&lt;\/a&gt; to &hellip;<\/p>\n","protected":false},"author":32,"featured_media":1724,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17939,1,432069],"tags":[432072,432071,432070,9201],"class_list":["post-1879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding","category-uncategorized","category-web-design-and-development","tag-432072","tag-anchor","tag-href","tag-html"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2017\/06\/html5.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=1879"}],"version-history":[{"count":7,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1879\/revisions"}],"predecessor-version":[{"id":1886,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1879\/revisions\/1886"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media\/1724"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}