{"id":76,"date":"2021-06-03T21:34:42","date_gmt":"2021-06-03T20:34:42","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/?page_id=76"},"modified":"2021-09-13T13:48:38","modified_gmt":"2021-09-13T12:48:38","slug":"hyperlinks","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/html\/hyperlinks\/","title":{"rendered":"Hyperlinks"},"content":{"rendered":"<h1><a href=\"https:\/\/www.w3schools.com\/tags\/tag_a.asp\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-59 alignright\" src=\"https:\/\/glow-prod-sh.s3.eu-west-1.amazonaws.com\/sh\/public\/ahscomputinghtml\/uploads\/sites\/3275\/2021\/06\/03210120\/w3schools-150x150.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&#038;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIQDSY2Kw45hlhBUVsjZUwcT16MRBl5FknBdV1hAwANUzkQIgLs5%2FwlXPworpsHYGjcs8W4d7lRIBcEViVLYnKH05DYMqwgUIkf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAFGgwyNzM1NzAxOTU0MzMiDHUFrd4NzowaHY7CYSqWBbpltP1lX88jHiNuCRz4vW5mpdAk6vtRTb20viWQPcJRAKIsmEwGUnxOuIMG7U5H29gLTKv0bfw%2FbsugVB90DwWAy0DJ1eJCtkykaWA%2FPyP4DUl8I%2FkBRWlFeSAVTGI92SRX7SRvnvv1QaCRFIKd%2FyFrA9TT6EU%2BeMe4VaoQbmwUK7fpjbydYXVv0F7QlGj8gymRK9CUyi3vla4aNvFj5G5gV29HOUbVxFq2zG%2FD8GxaRE0tpFTzw5dPvVwuEPCDEBIGFPAFgv97pcX64iOcdjGkgYkalAOk2ZvsM3r8AXoy45Zx4ZhdsVnodqdrv0nd0dqV%2Be8n7UVfPv8QhxYnewtqa3SYM8USHEqNV%2FT3noLzcz%2BDSqgyvXmC6iOu12lZHkqWaBkwezQPByroCVMN%2FXnSpp6NNKc3KlHoUXPUUvic6Zm0aBpbhiyZ7absi2YBBCA5%2Bmscchy%2F2h1LNH%2FpFtvs8UMn5NdA6pSKE4g3lDdo30BRxa5U2jJBwmbGl1B8tIbi6q1x04qJMvtgY%2BIhzvAJpHY0nDEby7BZgulhr1eA4jBmNOirIYBgvhfxeG5P27%2BPpRtnVC5Cej04tsVuPg0dNCl%2BvZlhaHJsuMwfxcTYdr3L31zQnton30Nt060X4kzOg6%2FplCtSqicL3e5k014qqIxWPGRpBNM3Nm6rB%2Bo61EKoTw5veSXdrohXaVxADeSgttHbAH3iImjaLUxd0SPy%2BV3UpZiksbVxtgUwjOzhD9KVXXQjAxOmp9HjnJbuunedKas2TUIBDaaNInyY9%2B3NvOz8nEWU2o34d08jz%2FCoALls5kBYklPk%2BK5pMKtl3Zxic%2BjU82Fr9NZbzL2Lvv9Zra8njPwQk04cxs76hWpmH2Ec7fMpMPrHnNQGOrEBtQ3WjOYd6VKyjgpNz793pc4jWopedARHKGrZT2f988b7Zdy9jdR0zEbdxPslZZgOb9LOHsuYa6ZrWi8UBXoiWZ2%2BM1y3dNdG18jO%2Fi5DCRZ%2BS5woiqAwDEqN2urWq8XzNKpVUveern6dMkbS%2BebFIiOvgbrVLnoeVeAlK0FfMrom%2FYoqymfuFgorF0gALyE7kXiU4D%2F%2FPmQWrROGVl73iJ6JOpv%2BfCqu84MmiwE4YKPD&#038;X-Amz-Algorithm=AWS4-HMAC-SHA256&#038;X-Amz-Credential=ASIAT7MQN47UTPL3RBYU%2F20260820%2Feu-west-1%2Fs3%2Faws4_request&#038;X-Amz-Date=20260820T164840Z&#038;X-Amz-SignedHeaders=host&#038;X-Amz-Expires=900&#038;X-Amz-Signature=176ebe9c2d0f837f828860167dd7f97cb80b116855a0839162c0f924f7f377cd\" alt=\"\" width=\"50\" height=\"47\" \/><\/a><\/h1>\n<p>Hyperlinks connect\u00a0<em>anchors<\/em> to:<\/p>\n<ul>\n<li>another webpage (an external link)<\/li>\n<li>a location within the same web page (an internal link)<\/li>\n<\/ul>\n<h1>External Links<\/h1>\n<h2>Using text to open an external link<\/h2>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;Anderson High School&lt;\/a&gt;\r\n<\/pre>\n<p>The link may be part of a paragraph, or other blocks of text:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;p&gt;The &lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;Anderson \r\nHigh School&lt;\/a&gt; is the largest school in Shetland.&lt;\/p&gt;\r\n<\/pre>\n<h2>Using an image to open an external link<\/h2>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;&lt;img src=&quot;ahslogo.png&quot; \r\nwidth=&quot;100&quot; height=&quot;100&quot; alt=&quot;AHS Logo&quot;&gt;&lt;\/a&gt;\r\n<\/pre>\n<h1>Internal Links<\/h1>\n<p>An internal link requires two items &#8211; an id for the destination and the hyperlink<\/p>\n<h2>Setting destination id<\/h2>\n<p>The id can be put into any HTML tag. Every id on a page must be unique:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;h1 id=&quot;title&quot;&gt;Anderson High School&lt;\/h1&gt;\r\n<\/pre>\n<h2>Hyperlink<\/h2>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;a href=&quot;#title&quot;&gt;Go to top of page&lt;\/a&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hyperlinks connect\u00a0anchors to: another webpage (an external link) a location within the same web page (an internal link) External Links Using text to open an external link &lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;Anderson High School&lt;\/a&gt; The link may be part of a paragraph, or other blocks of text: &lt;p&gt;The &lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;Anderson High School&lt;\/a&gt; is the largest school in Shetland.&lt;\/p&gt; Using an image to open an external link &lt;a href=&quot;http:\/\/www.anderson.shetland.sch.uk&quot;&gt;&lt;img src=&quot;ahslogo.png&quot; width=&quot;100&quot; height=&quot;100&quot; alt=&quot;AHS Logo&quot;&gt;&lt;\/a&gt;<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/html\/hyperlinks\/\">Read More<\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"parent":16,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-76","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":7,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/76\/revisions"}],"predecessor-version":[{"id":426,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/76\/revisions\/426"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/16"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/media?parent=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}