SlideShare ist ein Scribd-Unternehmen logo
1 von 9
HTML - Lists
By
Dr. I. Uma Maheswari
iuma_maheswari@yahoo.co.in
Lists
• Lists are special features of HTML, that
are used to display a list of things.
• They are very powerful in execution and
provides special attributes to give more
effect in their appearance.
Types of list
• There are three types of lists in html
(i) Ordered List – list labelled with numbers,
letters or roman numerals.
(ii) Unordered List – list labelled with bullets
or some other symbols.
(iii) (iii) Definition List – list in which each
item has a term and a definition for every
term.
Ordered lists
• Ordered lists are enclosed by <OL> and </OL> tag.
• Each item within the list begins with the <LI> (list item) tag.
• By default <OL> tag displays the list item in Arabic numerals
and hence it is also called as Numbered list.
• Ordered list allows the user to specify the style of numbering
using the attribute “type”.
Type = “1” will start numbering from 1, 2, 3…
Type = “I” will start numbering from I, II, III…
Type = “A” will start numbering as A, B, C….
• It also has an option to specify the starting number of the list
using start attribute.
• Eg., <OL Type = “1” start = “7”> will start numbering from “7”.
Example for ordered list
<HTML>
<HEAD>
<TITLE> Ordered list </TITLE>
</HEAD>
<BODY>
<OL Type = “a”>
<LI> Platinum
<LI> Gold
<LI> Diamond
<LI> Silver
</OL>
</BODY>
</HTML>
Unordered list
• Unordered list are similar to ordered list but
instead of numbers and letters, the list appears
in bullets and hence it is also called as “bulleted
list”.
• The “type” attribute is used to specify the style of
the bullet.
• By default, the list items are displayed with
Circle bullet.
Type = “Disc” – will display a small disc circle
Type = “square” – will display a solid square
Type = “circle” – will display a hollow circle.
Example for unordered list
<HTML>
<HEAD>
<TITLE> Unordered list </TITLE>
</HEAD>
<BODY>
<UL Type = “Circle”>
<LI> Platinum
<UL Type = “Square”>
<LI> Gold
<LI> Diamond
<UL Type = “Disc”>
<LI> Silver
</UL>
</BODY>
</HTML>
Definition list
• Definition lists are not based on list items,
instead they are based on term definition.
• The beginning and ending tag of definition
list is <DL> and </DL>.
• The definition terms is preceded by <DT>
tag and in turn the actual definition for the
term is preceded by <DD>.
• <DT> - definition list term
• <DD> - definition list definition
Example for definition list
<HTML>
<HEAD>
<TITLE> definition list </TITLE>
</HEAD>
<BODY>
<DL>
<DT> MS Word
<DD> It is a word processor application
<DT> MS Excel
<DD> It is a spread sheet application
<DT> MS PowerPoint
<DD> It is used to create presentations
</DL>
</BODY>
</HTML>

Weitere ähnliche Inhalte

Was ist angesagt? (8)

Html lists
Html listsHtml lists
Html lists
 
Web engineering - An overview about HTML
Web engineering -  An overview about HTMLWeb engineering -  An overview about HTML
Web engineering - An overview about HTML
 
Icd 10 course lecture slide (ch 4,7,8)
Icd 10 course  lecture slide (ch 4,7,8)Icd 10 course  lecture slide (ch 4,7,8)
Icd 10 course lecture slide (ch 4,7,8)
 
Web Development - Lecture 5
Web Development - Lecture 5Web Development - Lecture 5
Web Development - Lecture 5
 
Search in the Biblical Domain - BibleTech: 2011
Search in the Biblical Domain - BibleTech: 2011Search in the Biblical Domain - BibleTech: 2011
Search in the Biblical Domain - BibleTech: 2011
 
Types of Selectors (HTML)
Types of Selectors (HTML)Types of Selectors (HTML)
Types of Selectors (HTML)
 
The three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearThe three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth year
 
HED ERIC Database
HED ERIC DatabaseHED ERIC Database
HED ERIC Database
 

Ähnlich wie computer language - html lists

Creating you first web page!
Creating you first web page!Creating you first web page!
Creating you first web page!
JayjZens
 

Ähnlich wie computer language - html lists (20)

html-list-type-description-with-examples
html-list-type-description-with-exampleshtml-list-type-description-with-examples
html-list-type-description-with-examples
 
Html-list
Html-listHtml-list
Html-list
 
v3-html-list-210321161325.pdf
v3-html-list-210321161325.pdfv3-html-list-210321161325.pdf
v3-html-list-210321161325.pdf
 
HTML ppt.pptx
HTML ppt.pptxHTML ppt.pptx
HTML ppt.pptx
 
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
Std 10 Computer Chapter 4 List and Table Handling in HTML(Part 1 List in HTML)
 
Html Course Chapter 3
Html Course Chapter 3Html Course Chapter 3
Html Course Chapter 3
 
Use of Lists and Tables in HTML
Use of Lists and Tables in HTMLUse of Lists and Tables in HTML
Use of Lists and Tables in HTML
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
 
Module 1 Creating new paragraph
Module 1   Creating new paragraphModule 1   Creating new paragraph
Module 1 Creating new paragraph
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
 
Creating you first web page!
Creating you first web page!Creating you first web page!
Creating you first web page!
 
Html web designing using lists
Html web designing using listsHtml web designing using lists
Html web designing using lists
 
Handout4 lists
Handout4 listsHandout4 lists
Handout4 lists
 
HTML_list (2).pdf
HTML_list (2).pdfHTML_list (2).pdf
HTML_list (2).pdf
 
Html3
Html3Html3
Html3
 
Html3
Html3Html3
Html3
 
tableslist.pptx
tableslist.pptxtableslist.pptx
tableslist.pptx
 
Html list
Html listHtml list
Html list
 
Creating lists
Creating listsCreating lists
Creating lists
 
Lesson-05.pptx
Lesson-05.pptxLesson-05.pptx
Lesson-05.pptx
 

Mehr von Dr. I. Uma Maheswari Maheswari

Mehr von Dr. I. Uma Maheswari Maheswari (20)

2h. Pedagogy of mathematics part II (numbers and sequence - ex 2.8)
2h. Pedagogy of mathematics   part II (numbers and sequence - ex 2.8)2h. Pedagogy of mathematics   part II (numbers and sequence - ex 2.8)
2h. Pedagogy of mathematics part II (numbers and sequence - ex 2.8)
 
2g. Pedagogy of mathematics part II (numbers and sequence - ex 2.7)
2g. Pedagogy of mathematics   part II (numbers and sequence - ex 2.7)2g. Pedagogy of mathematics   part II (numbers and sequence - ex 2.7)
2g. Pedagogy of mathematics part II (numbers and sequence - ex 2.7)
 
2f. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.6)
2f. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.6)2f. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.6)
2f. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.6)
 
2e. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.5)
2e. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.5)2e. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.5)
2e. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.5)
 
2d. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.4)
2d. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.4)2d. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.4)
2d. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.4)
 
2c. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.3)
2c. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.3)2c. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.3)
2c. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.3)
 
2b. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.2)
2b. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.2)2b. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.2)
2b. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.2)
 
2a. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.1)
2a. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.1)2a. Pedagogy of Mathematics -  Part II (Numbers and Sequence - Ex 2.1)
2a. Pedagogy of Mathematics - Part II (Numbers and Sequence - Ex 2.1)
 
Computer language - Html forms
Computer language - Html formsComputer language - Html forms
Computer language - Html forms
 
computer language - Html frames
computer language - Html framescomputer language - Html frames
computer language - Html frames
 
Computer language - Html tables
Computer language - Html tablesComputer language - Html tables
Computer language - Html tables
 
Pedagogy - teaching models
Pedagogy - teaching modelsPedagogy - teaching models
Pedagogy - teaching models
 
Computer language - html links
Computer language - html   linksComputer language - html   links
Computer language - html links
 
Computer language - html images and sounds
Computer language - html   images and soundsComputer language - html   images and sounds
Computer language - html images and sounds
 
Computer language - HTML tags
Computer language - HTML tagsComputer language - HTML tags
Computer language - HTML tags
 
Computer language - HTML (Hyper Text Markup Language)
Computer language - HTML (Hyper Text Markup Language)Computer language - HTML (Hyper Text Markup Language)
Computer language - HTML (Hyper Text Markup Language)
 
X std maths - Relations and functions (ex 1.5 &amp; 1.6)
X std maths -  Relations and functions (ex 1.5 &amp; 1.6)X std maths -  Relations and functions (ex 1.5 &amp; 1.6)
X std maths - Relations and functions (ex 1.5 &amp; 1.6)
 
X std maths - Relations and functions (ex 1.4)
X std maths - Relations and functions  (ex 1.4)X std maths - Relations and functions  (ex 1.4)
X std maths - Relations and functions (ex 1.4)
 
X std maths - Relations and functions (ex 1.3)
X std maths -  Relations and functions  (ex 1.3)X std maths -  Relations and functions  (ex 1.3)
X std maths - Relations and functions (ex 1.3)
 
X std mathematics - Relations and functions (Ex 1.2)
X std mathematics - Relations and functions  (Ex 1.2)X std mathematics - Relations and functions  (Ex 1.2)
X std mathematics - Relations and functions (Ex 1.2)
 

Kürzlich hochgeladen

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Kürzlich hochgeladen (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

computer language - html lists

  • 1. HTML - Lists By Dr. I. Uma Maheswari iuma_maheswari@yahoo.co.in
  • 2. Lists • Lists are special features of HTML, that are used to display a list of things. • They are very powerful in execution and provides special attributes to give more effect in their appearance.
  • 3. Types of list • There are three types of lists in html (i) Ordered List – list labelled with numbers, letters or roman numerals. (ii) Unordered List – list labelled with bullets or some other symbols. (iii) (iii) Definition List – list in which each item has a term and a definition for every term.
  • 4. Ordered lists • Ordered lists are enclosed by <OL> and </OL> tag. • Each item within the list begins with the <LI> (list item) tag. • By default <OL> tag displays the list item in Arabic numerals and hence it is also called as Numbered list. • Ordered list allows the user to specify the style of numbering using the attribute “type”. Type = “1” will start numbering from 1, 2, 3… Type = “I” will start numbering from I, II, III… Type = “A” will start numbering as A, B, C…. • It also has an option to specify the starting number of the list using start attribute. • Eg., <OL Type = “1” start = “7”> will start numbering from “7”.
  • 5. Example for ordered list <HTML> <HEAD> <TITLE> Ordered list </TITLE> </HEAD> <BODY> <OL Type = “a”> <LI> Platinum <LI> Gold <LI> Diamond <LI> Silver </OL> </BODY> </HTML>
  • 6. Unordered list • Unordered list are similar to ordered list but instead of numbers and letters, the list appears in bullets and hence it is also called as “bulleted list”. • The “type” attribute is used to specify the style of the bullet. • By default, the list items are displayed with Circle bullet. Type = “Disc” – will display a small disc circle Type = “square” – will display a solid square Type = “circle” – will display a hollow circle.
  • 7. Example for unordered list <HTML> <HEAD> <TITLE> Unordered list </TITLE> </HEAD> <BODY> <UL Type = “Circle”> <LI> Platinum <UL Type = “Square”> <LI> Gold <LI> Diamond <UL Type = “Disc”> <LI> Silver </UL> </BODY> </HTML>
  • 8. Definition list • Definition lists are not based on list items, instead they are based on term definition. • The beginning and ending tag of definition list is <DL> and </DL>. • The definition terms is preceded by <DT> tag and in turn the actual definition for the term is preceded by <DD>. • <DT> - definition list term • <DD> - definition list definition
  • 9. Example for definition list <HTML> <HEAD> <TITLE> definition list </TITLE> </HEAD> <BODY> <DL> <DT> MS Word <DD> It is a word processor application <DT> MS Excel <DD> It is a spread sheet application <DT> MS PowerPoint <DD> It is used to create presentations </DL> </BODY> </HTML>