{"id":290,"date":"2019-08-28T07:26:30","date_gmt":"2019-08-28T07:26:30","guid":{"rendered":"https:\/\/www.webhozz.com\/code\/?p=290"},"modified":"2019-09-03T10:47:16","modified_gmt":"2019-09-03T10:47:16","slug":"bootstrap-list","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/","title":{"rendered":"Bootstrap : List"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">Membuat Bootstrap List<\/h5>\n\n\n\n<p>Kalian dapat membuat tiga jenis daftar HTML:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Unordered list<\/strong> &#8211; Daftar item yang urutannya tidak penting. Daftar item dalam <strong><em>unordered list<\/em><\/strong> ditandai dengan bullet.<\/li><li><strong>Ordered list<\/strong> &#8211; Daftar item yang urutannya penting secara eksplisit. Daftar item dalam <strong><em>ordered list<\/em><\/strong> yang diurutkan ditandai dengan angka, mis. 1, \u2175, dll.<\/li><li><strong>Definition list<\/strong> &#8211; Daftar istilah dengan deskripsi yang terkait.<\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Unstyled Ordered dan Unordered List<\/h5>\n\n\n\n<p>Terkadang kalian mungkin perlu menghapus styling form default dari list item. Kalian dapat melakukan ini dengan hanya menerapkan kelas <strong><em>.list-unstyled<\/em><\/strong> ke masing-masing elemen <strong><em>&lt;ul&gt;<\/em><\/strong> atau <strong><em>&lt;ol&gt;.<\/em><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ul class=&quot;list-unstyled&quot;&gt;\n    &lt;li&gt;Home&lt;\/li&gt;\n    &lt;li&gt;Products\n        &lt;ul&gt;\n            &lt;li&gt;Gadgets&lt;\/li&gt;\n            &lt;li&gt;Accessories&lt;\/li&gt;\n        &lt;\/ul&gt;\n    &lt;\/li&gt;\n    &lt;li&gt;About Us&lt;\/li&gt;\n    &lt;li&gt;Contact&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/pre><\/div>\n\n\n<p>Output dari contoh di atas akan terlihat seperti ini:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png\" alt=\"Bootstrap Unstyled List\"\/><\/figure>\n\n\n\n<p><strong><em>Catatan:<\/em><\/strong> Kelas <strong><em>.list-unstyled<\/em><\/strong> menghapus <strong><em>list-style<\/em><\/strong> standar dan left padding-nya hanya dari item daftar yang merupakan turunan langsung dari elemen <strong><em>&lt;ul&gt;<\/em><\/strong> atau <strong><em>&lt;ol&gt;.<\/em><\/strong><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Menempatkan Ordered dan Unordered List Items Dalam Baris yang Sama<\/h5>\n\n\n\n<p>Jika kalian ingin membuat menu horizontal menggunakan <em>ordered<\/em> atau <em>unordered list<\/em>, kalian perlu menempatkan semua item daftar dalam satu baris, yaitu berdampingan. Kalian dapat melakukan ini hanya dengan menerapkan kelas <strong><em>.list-inline<\/em><\/strong> ke masing-masing <strong><em>&lt;ul&gt;<\/em><\/strong> atau <strong><em>&lt;ol&gt;<\/em><\/strong>, dan kelas <strong><em>.list-inline-item <\/em><\/strong>ke elemen <strong><em>&lt;li&gt;.<\/em><\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;ul class=&quot;list-inline&quot;&gt;\n    &lt;li class=&quot;list-inline-item&quot;&gt;Home&lt;\/li&gt;\n    &lt;li class=&quot;list-inline-item&quot;&gt;Products&lt;\/li&gt;\n    &lt;li class=&quot;list-inline-item&quot;&gt;About Us&lt;\/li&gt;\n    &lt;li class=&quot;list-inline-item&quot;&gt;Contact&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/pre><\/div>\n\n\n<p>Output dari contoh di atas akan terlihat seperti ini: <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-inline-list.png\" alt=\"Bootstrap Inline List\"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Membuat Horizontal Definition List<\/h5>\n\n\n\n<p>Istilah dan deskripsi dalam definition list juga dapat disejajarkan secara horizontal berdampingan menggunakan kelas yang telah ditentukan sistem grid Bootstrap. Berikut contohnya:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;dl class=&quot;row&quot;&gt;\n    &lt;dt class=&quot;col-sm-3&quot;&gt;User Agent&lt;\/dt&gt;\n    &lt;dd class=&quot;col-sm-9&quot;&gt;An HTML user agent is any device that interprets HTML documents.&lt;\/dd&gt;\n    &lt;dt class=&quot;col-sm-3 text-truncate&quot;&gt;Client-side Scripting&lt;\/dt&gt;\n    &lt;dd class=&quot;col-sm-9&quot;&gt;Client-side scripting generally refers to the category of computer programs on the web that are executed by the user's web browser.&lt;\/dd&gt;\n    &lt;dt class=&quot;col-sm-3&quot;&gt;Document Tree&lt;\/dt&gt;\n    &lt;dd class=&quot;col-sm-9&quot;&gt;The tree of elements encoded in the source document.&lt;\/dd&gt;\n&lt;\/dl&gt;\n<\/pre><\/div>\n\n\n<p>Output dari contoh di atas akan terlihat seperti ini:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-horizontal-definitoin-list.png\" alt=\"Bootstrap Horizontal Definition List\"\/><\/figure>\n\n\n\n<p><strong><em>Catatan:<\/em><\/strong> Untuk istilah definisi yang lebih panjang, kalian bisa\nmenerapkan class <strong><em>.text-truncate<\/em><\/strong> pada elemen <strong><em>&lt;dt&gt;<\/em><\/strong> untuk memotong teks\ndengan <em>ellipsis (&#8230;)<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Membuat Bootstrap List Kalian dapat membuat tiga jenis daftar HTML: Unordered list &#8211; Daftar item yang urutannya tidak penting. Daftar item dalam unordered list ditandai<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-290","post","type-post","status-publish","format-standard","hentry","category-bootstrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Belajar Bootstrap : 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\/bootstrap-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Belajar Bootstrap : List - WebHozz Code\" \/>\n<meta property=\"og:description\" content=\"Membuat Bootstrap List Kalian dapat membuat tiga jenis daftar HTML: Unordered list &#8211; Daftar item yang urutannya tidak penting. Daftar item dalam unordered list ditandai\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/code\/bootstrap-list\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Code\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-28T07:26:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-03T10:47:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png\" \/>\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\\\/bootstrap-list\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"headline\":\"Bootstrap : List\",\"datePublished\":\"2019-08-28T07:26:30+00:00\",\"dateModified\":\"2019-09-03T10:47:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/\"},\"wordCount\":254,\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tutorialrepublic.com\\\/lib\\\/images\\\/bootstrap-4\\\/bootstrap-unstyled-list.png\",\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/\",\"name\":\"Belajar Bootstrap : List - WebHozz Code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tutorialrepublic.com\\\/lib\\\/images\\\/bootstrap-4\\\/bootstrap-unstyled-list.png\",\"datePublished\":\"2019-08-28T07:26:30+00:00\",\"dateModified\":\"2019-09-03T10:47:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.tutorialrepublic.com\\\/lib\\\/images\\\/bootstrap-4\\\/bootstrap-unstyled-list.png\",\"contentUrl\":\"https:\\\/\\\/www.tutorialrepublic.com\\\/lib\\\/images\\\/bootstrap-4\\\/bootstrap-unstyled-list.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/bootstrap-list\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bootstrap : 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 Bootstrap : 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\/bootstrap-list\/","og_locale":"en_US","og_type":"article","og_title":"Belajar Bootstrap : List - WebHozz Code","og_description":"Membuat Bootstrap List Kalian dapat membuat tiga jenis daftar HTML: Unordered list &#8211; Daftar item yang urutannya tidak penting. Daftar item dalam unordered list ditandai","og_url":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/","og_site_name":"WebHozz Code","article_published_time":"2019-08-28T07:26:30+00:00","article_modified_time":"2019-09-03T10:47:16+00:00","og_image":[{"url":"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png","type":"","width":"","height":""}],"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\/bootstrap-list\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"headline":"Bootstrap : List","datePublished":"2019-08-28T07:26:30+00:00","dateModified":"2019-09-03T10:47:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/"},"wordCount":254,"image":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png","articleSection":["Bootstrap"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/","url":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/","name":"Belajar Bootstrap : List - WebHozz Code","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#primaryimage"},"image":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png","datePublished":"2019-08-28T07:26:30+00:00","dateModified":"2019-09-03T10:47:16+00:00","author":{"@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"breadcrumb":{"@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/code\/bootstrap-list\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#primaryimage","url":"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png","contentUrl":"https:\/\/www.tutorialrepublic.com\/lib\/images\/bootstrap-4\/bootstrap-unstyled-list.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/code\/bootstrap-list\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/code\/"},{"@type":"ListItem","position":2,"name":"Bootstrap : 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\/290","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=290"}],"version-history":[{"count":2,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/290\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/290\/revisions\/337"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/media?parent=290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/categories?post=290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/tags?post=290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}