{"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=IQoJb3JpZ2luX2VjEF0aCWV1LXdlc3QtMSJHMEUCIFfbjc69BiXynR%2BgUj%2FAVOWmZhW%2B0r1h1kxorC%2B9wfV2AiEA6tPrUgTDqIs1CpSI6X6F%2BmQmJ7n0dWgVaOdki4MOKtcquAUIJhAFGgwyNzM1NzAxOTU0MzMiDM3KPix3rKWmGYGicSqVBYEadPRcKUXMYPzkbiVGRb2EQiqSUED9Gd8Hkwf%2BDuaW7MTxZCIX9UScaInIbWofyL1awtAgaIUf%2Fsns0%2FBSGGw%2BJ%2FU5RYNeFts1tAS2moRqu6AkToq9dPhZjCH0ZN0dMpmsjlXO7LRNGXUP%2Bs7ljZvwKWJpItE7G%2FF%2F9N3r2a8npJyGIDe3mhaQi2NUD59XTBpCsFgtisAEOKYZ8O5NcoItu875Lyve6oWGoHlUsG1q6VW%2FJCEExWDZtgiwMp050epYNFDaOME6FhLBrtcNH5v14dOgnukTaMYo9PHmC3aM3slQTpmY8286j%2BcbVkpm8aLrJgKaXECxH9kPYqLVNbdxRZa3c%2BqANyi16R7M%2BRt%2BzVx75EghWFpB1sspgCnh%2BBIdZwQOBIcTKo5Dvm1yKKY1vgLw0eeDllZ1HrkuODhgOnzSYxFNu49Lqsnm5qt%2Fw7rB447tepIn%2B7svvoFhLAuFzAoPGCcP4kjVkwJ9Ubfu0%2F1EevHrw3zM%2FLsjvBxl1WYg3cEtcnBWPacBtdhdgaUhNiVtdI9b4KuIf4CroHw619zUwIHh%2FdmU2e1BKqYyzgUJp0vx%2B1%2FHCPOh4JgohnB6i39BllmyE%2F%2Fh0XJPGDmGA1BNdwCcpCx1MhL5ZhTw2H54Wr1mH8Q1WzsXCBBpRB6wGAPJAJ9pCWBDHiIAeQJ1NdWH5T5L%2FxynOCbRJ5kBYHEqRv7TBmGZNz93zQxnruVPz4M%2F%2Fjv7I34FtiqWtvH6aJ4nofT84q%2BPmkyn%2B92TbKb5qd7f%2F6UibRUrXoJFq95PU7hIInKq6KkJLMdEWYONHT%2BpGyt4g%2BDvvw7fr%2BiLw5F0jB%2FJIzvioQbJbgVgJ%2BX%2BlaR0HT3hv6C2tVCSzM5JDKb3FVcw3r%2BU0wY6sQHgYKtwif1xQRS0hbL4ls37QWanazv7PJV9FrB2QSPk%2F53T%2B%2BO042dnZVQ8eUv5pP9RF2GwWO7C6QqxqTI9kZwKn785UA2Bpmcmc8Y4blFdj2bES%2FSMIs6YqEtCPImx84RH1ALZIEK5deuWAUGhsV8jk%2FjIRe2dquBcddyOvvrrytDYCs%2B9dxXS2lhula1rhcHW2CEeLd38T%2FGtkC2N8iHXoOds2ABPF02G%2FX4qcpWFAic%3D&#038;X-Amz-Algorithm=AWS4-HMAC-SHA256&#038;X-Amz-Credential=ASIAT7MQN47U4ILYIHPX%2F20260725%2Feu-west-1%2Fs3%2Faws4_request&#038;X-Amz-Date=20260725T211905Z&#038;X-Amz-SignedHeaders=host&#038;X-Amz-Expires=900&#038;X-Amz-Signature=731779d00847fc6d3b8f00d761dc1ba37e71fcae510a826f27dc3799a82f7f31\" 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}]}}