{"id":30,"date":"2021-06-03T18:08:45","date_gmt":"2021-06-03T17:08:45","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/?page_id=30"},"modified":"2021-06-07T21:49:25","modified_gmt":"2021-06-07T20:49:25","slug":"html-template","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/html\/html-template\/","title":{"rendered":"HTML Template"},"content":{"rendered":"<p>You should use this template for your html files.<\/p>\n<p>The first\/main page in a website should be called <strong>index.html<\/strong><\/p>\n<pre class=\"brush: xml; title: index.html; notranslate\" title=\"index.html\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;title&gt;#####&lt;\/title&gt;\r\n        &lt;link rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; href=&quot;styles.css&quot;&gt;\r\n        &lt;style&gt;\r\n        &lt;\/style&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        ###########\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>The title on line 4 is what will appear on the page tab inside the web browser &#8211; treat it like a book title.<\/p>\n<p>Line 5 links to an <em>external style sheet, <\/em>the style&gt;&#8230;&lt;\/style&gt; block (lines 6-7) for <em>internal style sheet <\/em>definitions.<\/p>\n<p>Everything that is to appear on the actual web page should be between the &lt;body&gt;&#8230;&lt;\/body&gt; tags.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You should use this template for your html files. The first\/main page in a website should be called index.html &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;#####&lt;\/title&gt; &lt;link rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; href=&quot;styles.css&quot;&gt; &lt;style&gt; &lt;\/style&gt; &lt;\/head&gt; &lt;body&gt; ########### &lt;\/body&gt; &lt;\/html&gt; The title on line 4 is what will appear on the page tab inside the web browser &#8211; treat it like a book title. Line 5 links to an external style sheet, the style&gt;&#8230;&lt;\/style&gt; block<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/html\/html-template\/\">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-30","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/30","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=30"}],"version-history":[{"count":7,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/30\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/blogs.glowscotland.org.uk\/sh\/ahscomputinghtml\/wp-json\/wp\/v2\/pages\/30\/revisions\/289"}],"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=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}