We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is an Unordered List?

Mary McMahon
By
Updated: May 16, 2024
Views: 9,326
Share

An unordered list is a list of items on a webpage, created by using the <UL> element. When an ordered list is displayed, it shows up as a list of items marked by bullet points. People can use unordered lists to organize a variety of items so that they can be conveniently viewed by users of a website. In addition to unordered lists, people can also make ordered lists, which are identified with numbers rather than bullet points, and definition lists.

To make an unordered list, people need to enclose the list with the <UL> element, and identify each item in the list with the <LI> element. The list can be as long as the user wishes to make it, and the appearance of the list can be styled directly with HTML tags for things like bolding or underlining, or through a CSS stylesheet. People can also use CSS to change the appearance of the bullets in the list, if they dislike the generic bullets which normally appear alongside an unordered list.

Unordered lists can be useful for a number of applications, as they help information stand out from the page. Many people like to summarize information in an ordered list; for example, someone could make an unordered list covering the key topics in an article at the top of a page, so that someone could see at a glance what the article was about, and choose to explore the article to learn more. Making an ordered list also relieves people of the difficulties which can be involved in trying to code the appearance of a list by hand with cumbersome HTML tags.

Here's an example of how to code an unordered list:

<ul> <li>Bread</li> <li>Eggs</li> <li>Milk</li> </ul>

This list would appear on a web page like this:

  • Bread
  • Eggs
  • Milk

If the items in the list needed to be numbered, it could be turned into an ordered list by using the <OL> element. People can also create nested unordered lists by making an unordered list inside an ordered list, like this:

<ol> <li>Bread</li> <ul> <li>English Muffins</li> <li>Baguettes</li> </ul> <li>Eggs</li> <li>Milk</li> </ol>

Several blogging platforms and software programs which allow people to make web pages have an unordered list option in the form of a button which people can click to start an unordered list. People can see how the function works by making the unordered list, and then switching to an HTML view of the page, where they will be able to see the various items in the list and the HTML elements which are used to identify them.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Mary McMahon
By Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a EasyTechJunkie researcher and writer. Mary has a liberal arts degree from Goddard College and spends her free time reading, cooking, and exploring the great outdoors.

Discussion Comments
Mary McMahon
Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a...

Learn more
Share
https://www.easytechjunkie.com/what-is-an-unordered-list.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.