{"id":1941,"date":"2018-04-24T10:25:57","date_gmt":"2018-04-24T10:25:57","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1941"},"modified":"2018-04-24T10:25:57","modified_gmt":"2018-04-24T10:25:57","slug":"bge-html-lists","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2018\/04\/24\/bge-html-lists\/","title":{"rendered":"BGE &#8211; HTML Lists"},"content":{"rendered":"<p>There are two main types of <a href=\"https:\/\/www.w3schools.com\/html\/html_lists.asp\">list in HTML 5<\/a>, the unordered list <strong>&lt;ul&gt;&lt;\/ul&gt;\u00a0<\/strong> and ordered list\u00a0<strong>&lt;ol&gt;&lt;\/ol&gt;<\/strong>. Lists use list items <strong>&lt;il&gt;&lt;\/li&gt;<\/strong> to seperate out the items in the list.<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!doctype html&gt;\r\n&lt;html&gt;\r\n\r\n &lt;head&gt;\r\n  &lt;title&gt; Page 1 &lt;\/title&gt;\r\n &lt;\/head&gt;\r\n\r\n &lt;body&gt;\r\n  &lt;h1&gt;Lists in HTML&lt;\/h1&gt;\r\n\r\n  &lt;ul&gt;\r\n   &lt;li&gt;Item&lt;\/li&gt;\r\n   &lt;li&gt;Item&lt;\/li&gt;\r\n  &lt;\/ul&gt;\r\n  \r\n  &lt;ol&gt;\r\n   &lt;li&gt;Item 1&lt;\/li&gt;\r\n   &lt;li&gt;Item 2&lt;\/li&gt;\r\n  &lt;\/ol&gt;\r\n &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>You will notice that &lt;ul&gt; and &lt;ol&gt; are not inside paragraphs &lt;p&amp;gt tags. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two main types of list in HTML 5, the unordered list &lt;ul&gt;&lt;\/ul&gt;\u00a0 and ordered list\u00a0&lt;ol&gt;&lt;\/ol&gt;. Lists use list items &lt;il&gt;&lt;\/li&gt; to seperate out the items in the list. &lt;!doctype html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt; Page 1 &lt;\/title&gt; &lt;\/head&gt; &lt;body&gt; &lt;h1&gt;Lists in HTML&lt;\/h1&gt; &lt;ul&gt; &lt;li&gt;Item&lt;\/li&gt; &lt;li&gt;Item&lt;\/li&gt; &lt;\/ul&gt; &lt;ol&gt; &lt;li&gt;Item 1&lt;\/li&gt; &lt;li&gt;Item 2&lt;\/li&gt; &lt;\/ol&gt; &lt;\/body&gt; &lt;\/html&gt; &hellip;<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[432069],"tags":[],"class_list":["post-1941","post","type-post","status-publish","format-standard","hentry","category-web-design-and-development"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1941","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=1941"}],"version-history":[{"count":4,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1941\/revisions"}],"predecessor-version":[{"id":1945,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1941\/revisions\/1945"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}