{"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 loading=\"lazy\" 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=IQoJb3JpZ2luX2VjEBMaCWV1LXdlc3QtMSJHMEUCIGBDYyFtqQ7J4fzgf4Kyc%2FdUvnr8BsUItLEt4UIaG1AYAiEAg3tV3CiciCZ6qX2QUlcj7dyTGEXkIbzGnEiNLm0AWAQqwAUI3P%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAFGgwyNzM1NzAxOTU0MzMiDHL4O872O17nP4eMDCqUBQW6jItxqiOCnMmhFMYTKD6M8Q1ZuXAk9iDgCOUp47ZAW2VNpZmh3Nj3fnJLK754uciq2tjVk9b2k5xBQWNDPABFr79fzrTcfxf%2FpP3dHpqkCYOUSvNGUoa9F7rBm4RZJexVTg9GbIq%2BKuLJWWZxhhIBm0Z8K040%2FJt5MdzheTSLnPT%2B704d3mDylctwDNB%2BOE7Gz3PzGzMtIohYl7OFrgXjqJgVXpWkvdPI4ypRDLC2CJQ7OeZdHkjeTykog7apzA2fDPZ2lWWEeeOhaewo20LTQIrYvcOGAqsmnuJEN2%2BNlYdaJKGPFxdw%2BfibNHHKXLpeEwgNrmagoFvKUH2IaMnuptIpOG1JrSjgX59Pu8aiNh2oZdYBtRz3egC%2BYi2pYZiam993A2pxTfkMZtzflGw6hdHbdz6sacG7lu1M1JpLoDf%2FQsJJvWBqXLnR8Fqp8q4rz4Nbo87rvwWTmq%2BC%2BldZw13Zo8h9zItiwvwP4Dx8lkS7BRZHDD%2FGIDaHOTUMhRbnDQF8g%2FDRQWSC8Jd%2BDvOhzyDUwErHfxYJqhAYsBfkcqTjzl7Xc1rE4fT86xuK4bglS4XQab7nPyPzGP3ESwjMwReQI%2B82mDrHOs7GtcFtaq90iBWRShhGP9MjHoY8I4Jp09bP3SOyfroMHKsyyj8dwV%2B8B4BQR7Q%2B%2FyPgjAJNV465BIo6xskBM1pv0WTrJDzbifG8BlFycJrZovzYIJYRy7T38AITVN%2Fzlad0NsojHlU3fnHk8n34pt%2BbnYcmChk3q%2FP8hPhMUC1yLJl%2F21lvHvTk%2F9SdZ%2F7Z3ENIvXch%2BCvBZrBnN1n3RCTBQhujYbxtKfcUNujR6GLQHmE4z9iSi%2FFNViFNxkoVKSqGM9Q3y42e1zDGmKPRBjqxAX4zV5%2FIN%2BuZlBexQtR4kkz%2B8xL38wGe1nab50WGmeZ1W%2F5b2L%2BaYJQY2YrfKEMYrLUx64sFIIZfXay8mJSbbd3GIWCo%2B%2BosT1QMeCkP6qBjMOOlxjeRUMSVPSQf25tflPyBUHw7rzzHA61RB4jOMGQiMhjp6CvdLN9DM6vCnvjQcTZcy3BzMY%2F7NtQxU98ij2SSCbAKSNx6Fs5K4RIVIE7Wcu17%2Fep%2Fe1nGFV9TmegwiA%3D%3D&#038;X-Amz-Algorithm=AWS4-HMAC-SHA256&#038;X-Amz-Credential=ASIAT7MQN47UVEKXFRS7%2F20260610%2Feu-west-1%2Fs3%2Faws4_request&#038;X-Amz-Date=20260610T030311Z&#038;X-Amz-SignedHeaders=host&#038;X-Amz-Expires=900&#038;X-Amz-Signature=2ef4a39b64c70e40c8b4608f97af6254cc902439e862357a4e63fadae872dc30\" 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}]}}