FAIRFIELDCTY.INFO

Where I eat in Bridgeport

AM Radio DX Audio Clips

Bridgeport Connecticut -- Railroads

Paugussett Indian Web Site

Paugussett Indian Web Site-2

Old Postmarks

Bridgeport Radio

Amateur Radio KH8AC

Some old Bridgeport advertising....
Some parts of this site borrow heavily from places such as Wikipedia. The desire is not duplication BUT to add to the material over 'time'. This site is educational NON-PROFIT.
Skip to content
geeksforgeeks
Search...
Sign In
HTML Tutorial
Web Tutorial
CSS
Javascript
React
A to Z Guide
Exercises
Tags
Projects
Interview Questions
Sign In
▲
HTML Lists
Last Updated : 01 Nov, 2025
An HTML List allows you to organize data on web pages into an ordered or unordered format to make the information easier to read and visually appealing. HTML Lists are very helpful for creating structured, accessible content in web development.
HTML lists organize content using tags like , & - .
They improve readability by presenting data in a structured format.
HTML
Welcome To GeeksforGeeks Learning
List of available courses
- Data Structures & Algorithm
- Web Technology
- Aptitude & Logical Reasoning
- Programming Languages
Data Structures topics
- Array
- Linked List
- Stacks
- Queues
- Trees
- Graphs
Html Tags
HTML (HyperText Markup Language) uses tags to define and structure elements on a webpage. Each tag tells the browser how to display the content — such as text, images, links, or layouts.
Tag Description
Defines an unordered list.
Defines an ordered list.
- Defines a list item.
Defines a description list.
- Defines a term in a description list.
- Details the term in a description list.
Types of HTML Lists
There are three main types of lists in HTML
1. Using HTML Unordered List or Bulleted List
Unordered lists are ideal for scenarios where the sequence of the items is not important.
The unordered list items are marked with bullets, also known as bulleted lists.
An unordered list starts with the
tag, and each list item begins with the - tag.
Attribute: This tag contains two attributes which are listed below:
compact: It will render the list smaller.
type: It specifies which kind of marker is used in the list.
Grocery list
Grocery list
Syntax:
2. Using HTML Ordered List
Ordered lists are used when the items need to follow a specific sequence.
In an ordered list, all list items are marked with numbers by default. An ordered list starts with the tag, and each list item begins with the - tag.
Attributes:
compact: It defines the list should be compacted (compact attribute is not supported in HTML5. Use CSS instead.).
reversed: It defines that the order will be descending.
start: It defines from which number or alphabet the order will start.
type: It defines which type(1, A, a, I, and i) of the order you want in your list of numeric, alphabetic, or roman numbers.
HTML
GeeksforGeeks
HTML ol tag
reversed attribute
- HTML
- CSS
- JS
start attribute
- HTML
- CSS
- JS
type attribute
- HTML
- CSS
- JS
Syntax:
- Item1
- Item2
- Item3
3. Using HTML Description List
A description list is a list of terms, with a description of each term. Description lists are less common but very useful for definitions, glossaries, or any other key-value pairs of items.
The tag defines the description list, the - tag defines the term name, and the
- tag describes each term.
Here,
- (description term) is used for the term being defined, and
- (description details) is used for the description.
HTML
A Description List
- Coffee
- - 500 gms
- Milk
- - 1 ltr Tetra Pack
Syntax:
- Item 1
- Description of Item 1
- Item 2
- Description of Item 2
Suggested Quiz
6 Questions
How many different types of lists provided in HTML?
A
2
B
3
C
4
D
5
Choose the correct statement about Unordered List:
A
It lists the element same as that of paragraph
B
It follows only numeric order(i.e 1, 2, 3...)
C
It don't follow any order
D
All of the above
How does the descriptive list contain the items:
A
It contains the items in a paragraph format.
B
It contains a term and associated description about that term
C
It don't follow any order
D
All of the above
What will the following syntax do:
A
List the items of unordered list in circle format.
B
List the items of unordered list in square format.
C
List the items of unordered list by default format(which is disk).
D
None
Tag to be use for creating an Ordered list are:
A
B
,
C
,
D
None
Which of the three lists should be use for listing the details of students, describing his/her behaviour, nature in class according to their names?
A
Unordered List
B
Ordered List
C
Descriptive List
D
Ordered List with alphabetic order
Quiz Completed Successfully
Your Score :
2
/6
Accuracy :
0%
Login to View Explanation
1/6
< Previous Next >
Comment
S
Shubrodeep Banerjee
Follow
71
Article Tags :
Misc
Technical Scripter
Web Technologies
HTML
+1 More
Explore
HTML Basics
Structure & Elements
Lists
Visuals & Media
Layouts & Designs
Projects & Advanced Topics
Tutorial References
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store
GFG App on App Store
Company
About Us
Legal
Privacy Policy
Contact Us
Advertise with us
GFG Corporate Solution
Campus Training Program
Explore
POTD
Job-A-Thon
Blogs
Nation Skill Up
Tutorials
Programming Languages
DSA
Web Technology
AI, ML & Data Science
DevOps
CS Core Subjects
Interview Preparation
Software and Tools
Courses
ML and Data Science
DSA and Placements
Web Development
Programming Languages
DevOps & Cloud
GATE
Trending Technologies
Videos
DSA
Python
Java
C++
Web Development
Data Science
CS Subjects
Preparation Corner
Interview Corner
Aptitude
Puzzles
GfG 160
System Design
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
Lightbox
Do Not Sell or Share My Personal Information