ankitweblogic logo
W e b t u t o r i a l s

Define Website

Define HTML

HTML, Head, Title tag

HTML Body tag

HTML Heading tags

HTML Paragraph tag

HTML Horizontal Line

HTML Hyperlink

HTML Image tag

HTML Font tag

HTML Exercise

HTML Text Direction

HTML Comment

HTML Lists

HTML Marquee tag

HTML Table tag

HTML Table Website

HTML Frame

HTML Iframe

HTML Fieldset tag

HTML Form Elements

HTML Form Exercise

HTML Image Map

HTML Div & Span Tag

CSS Float & Clear

HTML Color Codes

HTML Symbols

HTML Assignment

HTML List

HTML Lists are used to group related pieces of information together, so that they are clearly associated with each other and easy to read. Lists are used all the time on the web for navigation menus, product features etc.

In HTML, there are 3 types of List availabe, They are:

Unordered list
Ordered list
Description list

Unordered List

An unordered list is a collection of related list items that have no special order or sequence. Unordered list is created by using HTML <ul> tag, each item in the list is defined with <li> tag, and will be displayed as a bullet.

Attributes:
Type - Disc, circle, square.

Ordered List

If you are required to put your list items in a number or in a sequence instead of bullets then HTML ordered list is useful. <ol> tag is use to create HTML Ordered List.

Attributes:
Start - Specifies the starting number for a list.
Type - 'a', 'A', 'i', 'I', '1'

Description List

A description list is a list of terms, with a description of each term. The <dl> tag defines the description list, the <dt> tag defines the term (Heading), and the <dd> tag, describes each term.

Example: Output:

Nested Unordered List

Example:

Nested Ordered List

Example: