{"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=IQoJb3JpZ2luX2VjEL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIFiTfkwcNFWDGBJ7Sfdy8WiGh6eBQxX6haJJxrisIf1cAiEAjYyM29mztLxNz%2BKN244YS8LW%2Bg6iTPfah%2F556YV3UAMqwgUIh%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAFGgwyNzM1NzAxOTU0MzMiDM4B5KZ7jyedUDC0LCqWBbAmrrUvIhmtX7sP0zi5gAohHz3RYwUG9NHx4DPekS6DJ%2B7Nh8JM35Y2NtOs%2F3KX9Zoiu7h0AzcVHCu7LMcA1L5aEecLETUhEtMMNbpd0%2BDJDb0Xb0MI%2BPyP1AKk1dRJlVZuSswcvbbcxxHqKqKPg6CKlJKijm7LQDliYfWXuef9t3NRmOXaoKphFLUq6h0WG46fGRL2E%2B%2Bb7wpqu0CaZpBBByiuqDMmfXqHauvZWSUuY%2B%2FXX4moCLzLFgbzywsiu8JoKglloiN6cfsx7ROBrGyUTKzWbjcqlfXk87TL%2BDtRNY2R9iypXL7GUtUDn8pWNygQXeL%2BtshJIqj27wzYcQW99cGAIpO1rv4HzXGfo6tzoRbKlIzpS4B8K2kBqydSgivGCc8W3CWQVVB2XLbVCJXpo8x8iUeX170arB6DmIlq1i6ZelqZ9ye5osyhXbd%2BxKG82nAY21DMrsWbt3WPkx%2FxMkg6eYuZOUsicX%2FEXItAWQRie30DLcNXDR5bfzcrKViLOMYI1WoqT8Zx4HvQAVB0I0qqm9QD0lmzaGPwi%2FqXgCUrOBZAIWLQwOzNxCdIyvd39SxvRGdbiI7CAJpnpiagFk3JXI1WG8w9YB9If1bHXnQkS8nsPb4gF6T%2FjvrikDq6D0OIko7GbJSkTWByl285TFOoe8b%2FL%2FcNfXPNQ72CPgZCkwamR%2F21SXCPGe2JFce661Nsl3E9C%2F2l3fcz873%2B02o6KDyXcyqV3i1b%2BYDppL5bGTOXRu6D%2Fx%2BwwYy5cyo1ptPdpgtmz230N%2FmWFO%2B3zvCRpAsicfmIJjTh%2Bl92Roc9YWMHbNHux%2FibReKXYi4zq4wJsp8hL99yNmvp1Q%2BpQpNvabdkN45yFaexv%2BTkzu3HEn4PMKj4itUGOrEBNvTbmFZXdZRUtjlW8zr7G2l2MmPKJVaMoQ%2FAUe1CmCwuKPnt1Br8Vn%2FiWoDhv42Ktshbl3YQ78uvLIeeqMUKf1C8c7EjSnwQMXo%2FEVK6LHHsaK54NPl%2BeS37qeEWkw8On4nz0AEYQEpe2N4ATgEERAevu4jayQED2bNpGuyH6y1bZtqtHUb7BH99XuYLlp57IvPWH0%2FuYe%2Foz%2Fhloy0elG%2FtLncNyxOwDDxbmOW9RNUe&#038;X-Amz-Algorithm=AWS4-HMAC-SHA256&#038;X-Amz-Credential=ASIAT7MQN47UTNRDZ2R5%2F20260910%2Feu-west-1%2Fs3%2Faws4_request&#038;X-Amz-Date=20260910T143544Z&#038;X-Amz-SignedHeaders=host&#038;X-Amz-Expires=900&#038;X-Amz-Signature=8f208516fb65a5cbfd381cad4723bc160457ca2e2731b2f5907e2a941c40d62d\" 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}]}}