{"id":84,"date":"2026-04-10T08:28:27","date_gmt":"2026-04-10T08:28:27","guid":{"rendered":"https:\/\/gigz.pk\/html\/?post_type=lesson&#038;p=84"},"modified":"2026-04-23T09:02:39","modified_gmt":"2026-04-23T09:02:39","slug":"lists-ordered-unordered","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/html\/index.php\/lesson\/lists-ordered-unordered\/","title":{"rendered":"Lists (Ordered &#038; Unordered)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Lists in HTML are used to organize related items in a structured format. They make content easier to read and understand by grouping information clearly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Ordered List<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An ordered list is used when the items need to follow a specific sequence. It displays items in numerical or alphabetical order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The ordered list is created using the &lt;ol&gt; tag, and each item is written using the &lt;li&gt; tag.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example of Ordered List<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">&lt;ol&gt; &lt;li&gt;Step One&lt;\/li&gt; &lt;li&gt;Step Two&lt;\/li&gt; &lt;li&gt;Step Three&lt;\/li&gt; &lt;\/ol&gt;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Unordered List<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An unordered list is used when the order of items does not matter. It displays items with bullet points.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The unordered list is created using the &lt;ul&gt; tag, and each item is written using the &lt;li&gt; tag.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example of Unordered List<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">&lt;ul&gt; &lt;li&gt;Milk&lt;\/li&gt; &lt;li&gt;Bread&lt;\/li&gt; &lt;li&gt;Eggs&lt;\/li&gt; &lt;\/ul&gt;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Difference Between Ordered and Unordered Lists<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ordered lists show items in a sequence using numbers or letters.<br>Unordered lists show items using bullet points without any specific order.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>When to Use Lists<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use ordered lists when showing steps, instructions, or rankings.<br>Use unordered lists when displaying general items or categories.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Summary<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTML lists help structure content in a clean and readable way. Ordered lists are for sequences, while unordered lists are for simple grouped items.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/html\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">HTML Fundamentals (Beginner) > Text &#038; Formatting >Lists (Ordered &#038; Unordered)<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1776934975713\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n","protected":false},"menu_order":14,"template":"","class_list":["post-84","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Lists (Ordered &amp; Unordered) - HTML learning mastery<\/title>\n<meta name=\"description\" content=\"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lists (Ordered &amp; Unordered) - HTML learning mastery\" \/>\n<meta property=\"og:description\" content=\"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML learning mastery\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-23T09:02:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/html\\\/index.php\\\/lesson\\\/lists-ordered-unordered\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/\",\"name\":\"Lists (Ordered & Unordered) - HTML learning mastery\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/html\\\/#website\"},\"datePublished\":\"2026-04-10T08:28:27+00:00\",\"dateModified\":\"2026-04-23T09:02:39+00:00\",\"description\":\"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/html\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML Fundamentals (Beginner) > Text & Formatting >Lists (Ordered & Unordered)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/html\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/html\\\/\",\"name\":\"HTML learning mastery\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/html\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Lists (Ordered & Unordered) - HTML learning mastery","description":"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.","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:\/\/gigz.pk\/","og_locale":"en_US","og_type":"article","og_title":"Lists (Ordered & Unordered) - HTML learning mastery","og_description":"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.","og_url":"https:\/\/gigz.pk\/","og_site_name":"HTML learning mastery","article_modified_time":"2026-04-23T09:02:39+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/html\/index.php\/lesson\/lists-ordered-unordered\/","url":"https:\/\/gigz.pk\/","name":"Lists (Ordered & Unordered) - HTML learning mastery","isPartOf":{"@id":"https:\/\/gigz.pk\/html\/#website"},"datePublished":"2026-04-10T08:28:27+00:00","dateModified":"2026-04-23T09:02:39+00:00","description":"Learn HTML ordered and unordered lists to organize content using steps, bullet points, and structured layouts for better readability.","breadcrumb":{"@id":"https:\/\/gigz.pk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/html\/"},{"@type":"ListItem","position":2,"name":"HTML Fundamentals (Beginner) > Text & Formatting >Lists (Ordered & Unordered)"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/html\/#website","url":"https:\/\/gigz.pk\/html\/","name":"HTML learning mastery","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/html\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/html\/index.php\/wp-json\/wp\/v2\/lesson\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/html\/index.php\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/html\/index.php\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/html\/index.php\/wp-json\/wp\/v2\/media?parent=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}