{"id":51,"date":"2019-07-15T12:36:10","date_gmt":"2019-07-15T12:36:10","guid":{"rendered":"https:\/\/www.webhozz.com\/code\/?p=51"},"modified":"2019-09-03T11:54:36","modified_gmt":"2019-09-03T11:54:36","slug":"list-html","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/code\/list-html\/","title":{"rendered":"HTML : List"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Mengenal List HTML<\/h4>\n\n\n\n<p>List HTML digunakan untuk menyajikan daftar informasi dengan cara yang baik dan semantik (berkaitan). Ada tiga jenis daftar dalam HTML dan masing-masing memiliki tujuan dan makna tertentu:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> <strong>Unordered list<\/strong> &#8211;  Metode mengurutkan daftar dengan menggunakan simbol atau special character pada html .<\/li><li> <strong>Ordered list<\/strong> &#8211;  Metode mengurutkan daftar dengan menggunakan angka, abjad dan angka romawi pada html.<\/li><li> <strong>Description list<\/strong> &#8211;&nbsp;Merupakan jenis daftar&nbsp;yang ditujukan untuk membuat&nbsp;<em>struktur<\/em>&nbsp;yang berisi deskripsi atau daftar penjelasan.<\/li><\/ul>\n\n\n\n<p><strong><em>Catatan:<\/em><\/strong> Di dalam daftar item kalian dapat meletakkan teks, jeda baris, gambar, tautan, dll. Kalian juga dapat menempatkan seluruh daftar di dalam daftar item untuk membuat daftar bersarang.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"unordered-lists\">HTML Unordered List<\/h4>\n\n\n\n<p>Daftar tidak berurutan yang dibuat menggunakan tag &lt;ul&gt;, dan setiap daftar item dimulai dengan tag &lt;li&gt;. Daftar item dalam daftar tidak berurutan secara default akan ditandai dengan <em>bullet<\/em> (lingkaran hitam kecil). Berikut contoh kode nya:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ul&gt;\n    &lt;li&gt;Chocolate Cake&lt;\/li&gt;\n    &lt;li&gt;Black Forest Cake&lt;\/li&gt;\n    &lt;li&gt;Pineapple Cake&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/pre><\/div>\n\n\n<p>Output dari kode tersebut akan muncul seperti di bawah ini.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Chocolate Cake<\/li><li>Black Forest Cake<\/li><li>Pineapple Cake<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"ordered-lists\">HTML Ordered List<\/h4>\n\n\n\n<p>Order list dibuat menggunakan tag &lt;ol&gt;, dan setiap daftar item dimulai dengan tag &lt;li&gt;. Daftar yang diurutkan berisi informasi di mana daftar tersebut ditandai dengan angka, huruf atau abjad romawi. Berikut contoh kodenya:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ol&gt;\n    &lt;li&gt;Mix ingredients&lt;\/li&gt;\n    &lt;li&gt;Bake in oven for an hour&lt;\/li&gt;\n    &lt;li&gt;Allow to stand for ten minutes&lt;\/li&gt;\n&lt;\/ol&gt;\n<\/pre><\/div>\n\n\n<p>Output dari kode tersebut akan muncul seperti di bawah ini. <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Mix ingredients<\/li><li>Bake in oven for an hour<\/li><li>Allow to stand for ten minutes<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">HTML Definition Lists<\/h4>\n\n\n\n<p>Definition List adalah daftar item dengan mendefinisikan setiap item yang ada.<\/p>\n\n\n\n<p>Definition List dibuat menggunakan tag &lt;dl&gt;. Tag &lt;dl&gt; digunakan bersama dengan &lt;dt&gt; &#8211; yang mendefinisikan item dalam daftar tersebut, dan &lt;dd&gt; menjelaskan item dalam daftar tersebut, berikut contoh kodenya:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;dl&gt;\n    &lt;dt&gt;Bread&lt;\/dt&gt;\n    &lt;dd&gt;A baked food made of flour.&lt;\/dd&gt;\n    &lt;dt&gt;Coffee&lt;\/dt&gt;\n    &lt;dd&gt;A drink made from roasted coffee beans.&lt;\/dd&gt;\n&lt;\/dl&gt;\n<\/pre><\/div>\n\n\n<p>Output dari kode tersebut akan muncul seperti di bawah ini.  <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"439\" height=\"169\" src=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg\" alt=\"\" class=\"wp-image-53\" srcset=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg 439w, https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy-300x115.jpg 300w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Mengenal List HTML List HTML digunakan untuk menyajikan daftar informasi dengan cara yang baik dan semantik (berkaitan). Ada tiga jenis daftar dalam HTML dan masing-masing<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Belajar HTML : List - WebHozz Code<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhozz.com\/code\/list-html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Belajar HTML : List - WebHozz Code\" \/>\n<meta property=\"og:description\" content=\"Mengenal List HTML List HTML digunakan untuk menyajikan daftar informasi dengan cara yang baik dan semantik (berkaitan). Ada tiga jenis daftar dalam HTML dan masing-masing\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/code\/list-html\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Code\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-15T12:36:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-03T11:54:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"439\" \/>\n\t<meta property=\"og:image:height\" content=\"169\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"headline\":\"HTML : List\",\"datePublished\":\"2019-07-15T12:36:10+00:00\",\"dateModified\":\"2019-09-03T11:54:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/\"},\"wordCount\":294,\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/Untitled-copy.jpg\",\"articleSection\":[\"HTML\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/\",\"name\":\"Belajar HTML : List - WebHozz Code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/Untitled-copy.jpg\",\"datePublished\":\"2019-07-15T12:36:10+00:00\",\"dateModified\":\"2019-09-03T11:54:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/Untitled-copy.jpg\",\"contentUrl\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/Untitled-copy.jpg\",\"width\":439,\"height\":169},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/list-html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML : List\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\",\"name\":\"WebHozz Code\",\"description\":\"Tutorial Web &amp; Pemrograman Indonesia\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/author\\\/dody\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Belajar HTML : List - WebHozz Code","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhozz.com\/code\/list-html\/","og_locale":"en_US","og_type":"article","og_title":"Belajar HTML : List - WebHozz Code","og_description":"Mengenal List HTML List HTML digunakan untuk menyajikan daftar informasi dengan cara yang baik dan semantik (berkaitan). Ada tiga jenis daftar dalam HTML dan masing-masing","og_url":"https:\/\/www.webhozz.com\/code\/list-html\/","og_site_name":"WebHozz Code","article_published_time":"2019-07-15T12:36:10+00:00","article_modified_time":"2019-09-03T11:54:36+00:00","og_image":[{"width":439,"height":169,"url":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/code\/list-html\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"headline":"HTML : List","datePublished":"2019-07-15T12:36:10+00:00","dateModified":"2019-09-03T11:54:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/"},"wordCount":294,"image":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg","articleSection":["HTML"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/code\/list-html\/","url":"https:\/\/www.webhozz.com\/code\/list-html\/","name":"Belajar HTML : List - WebHozz Code","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg","datePublished":"2019-07-15T12:36:10+00:00","dateModified":"2019-09-03T11:54:36+00:00","author":{"@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"breadcrumb":{"@id":"https:\/\/www.webhozz.com\/code\/list-html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/code\/list-html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/code\/list-html\/#primaryimage","url":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg","contentUrl":"https:\/\/www.webhozz.com\/code\/wp-content\/uploads\/2019\/07\/Untitled-copy.jpg","width":439,"height":169},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/code\/list-html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/code\/"},{"@type":"ListItem","position":2,"name":"HTML : List"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/code\/#website","url":"https:\/\/www.webhozz.com\/code\/","name":"WebHozz Code","description":"Tutorial Web &amp; Pemrograman Indonesia","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/code\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/code\/author\/dody\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":3,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/51\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}