{"id":1938,"date":"2018-04-19T14:26:42","date_gmt":"2018-04-19T14:26:42","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1938"},"modified":"2018-04-19T14:26:42","modified_gmt":"2018-04-19T14:26:42","slug":"bge-images-on-websites","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2018\/04\/19\/bge-images-on-websites\/","title":{"rendered":"BGE &#8211; Images on websites"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.w3schools.com\/html\/html_images.asp\">&lt;img&gt; tag<\/a> is used to add an image to a webpage. &lt;img&gt; uses attributes to descibe the image and its location.<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n\r\n&lt;img src=&quot;egg.jpg&quot; alt=&quot;A picture of a chocolate egg&quot;&gt;\r\n\r\n<\/pre>\n<ul>\n<li>src &#8211; The value of this attribute is the full name of the image file, in this case <em>egg.gif<\/em>\u00a0which is in the same directory as the html file.<\/li>\n<li>alt &#8211; The value of this attribute is a description of the image. This is used in case the image fails to download or it can be read aloud by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Screen_reader\">screen readers<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The &lt;img&gt; tag is used to add an image to a webpage. &lt;img&gt; uses attributes to descibe the image and its location. &lt;img src=&quot;egg.jpg&quot; alt=&quot;A picture of a chocolate egg&quot;&gt; src &#8211; The value of this attribute is the full name of the image file, in this case egg.gif\u00a0which is in the same directory as &hellip;<\/p>\n","protected":false},"author":32,"featured_media":1724,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75925,432069],"tags":[9201,9207,432074],"class_list":["post-1938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-broad-general-education","category-web-design-and-development","tag-html","tag-img","tag-src"],"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\/1938","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=1938"}],"version-history":[{"count":2,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1938\/revisions"}],"predecessor-version":[{"id":1940,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1938\/revisions\/1940"}],"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=1938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}