SlideShare a Scribd company logo
1 of 14
HTML Lists
Lesson 8
Module 2: HTML Basics
Lesson Overview
 In   this lesson, you will learn to:
  1.    Create lists using HTML code.
  2.    Improve readability of a Web page using lists.
Guiding Questions
1.   Find a Web page that uses a list. How does a
     list impact the readability of the page?
2.   Give 2 examples of how a list could be used in
     a Web page or Web site on another topic?
Types of Lists
 Threetypes of lists which will be covered in this
 lesson:
 1.   Unordered lists
 2.   Ordered lists
 3.   Definition lists
Unordered Lists
 Similarto bulleted lists in word processing
 Items in the list have no special order
 Changing the order would not change the
  meaning of the information
     Example: A listing of your school subjects:
       Science
       Math
       Reading
Creating an Unordered List
   Start with the <ul>…</ul> tags to designate the
    beginning and ending of an unordered list
   Add <li>…</li> tags to identify items to be placed in
    the list
   To create our list of school subjects, use the
    following HTML code:
    <ul>
    <li>Science</li>
    <li>Math</li>
    <li>Reading</li>
    <ul>
Ordered Lists
 Use a numbering or ordering system to create
  meaning
 Changing the order changes the meaning
 For example: A list of the steps to make a
  peanut butter sandwich.
    Changing the order of the steps changes the
     outcome of the sandwich
Creating an Ordered List
 Startwith the <ol>…</ol> tags to designate the
  beginning and ending of an ordered list
 The same <li> tag identifies items in the list
Creating an Ordered List
   Code for making a peanut butter sandwich:
    <ol>
    <li>Get a slice of bread.</li>
    <li>Open a jar of peanut butter.</li>
    <li>Spread peanut butter on the slice of bread
    with a knife.</li>
    <li>Place another slice of bread on top.</li>
    <li>Eat the sandwich.</li>
    </ol>
Definition Lists
 Used  to define terms
 Different from unordered and ordered lists
 Has two parts
  1.   The term
  2.   The definition
 Labeling   of the parts is very important
Creating a Definition List
A  <dl>…</dl> tag identifies the beginning and
  ending of the list
 A <dt>…</dt> tag identifies the terms
 A <dd>…</dd> tag identifies the definitions
Creating a Definition List
   Example of definition list coding:
    <dl>
    <dt>format</dt>
    <dd>the design and layout of a page</dd>
    <dt>source code</dt>
    <dd>the HTML code that creates a Web
    page</dd>
    <dt>Web page</dt>
    <dd>a file written in HTML, or other Web
    publishing language</dd>
    </dl>
Lesson Review
 Describe the code needed to create each of
 the following:
 1.   Unordered list
 2.   Ordered list
 3.   Definition list
Practice: Lists
1.   Create the following changes in your “Tags
     and Attributes” Web page:
        An unordered list
        An ordered list
        A definition list
2.   Challenge Activity: Add underlining as
     appropriate.

More Related Content

What's hot (20)

Mendeley using guide
Mendeley using guideMendeley using guide
Mendeley using guide
 
Using Endnote
Using EndnoteUsing Endnote
Using Endnote
 
HED ERIC Database
HED ERIC DatabaseHED ERIC Database
HED ERIC Database
 
Mendeley teaching presentation - english
Mendeley teaching presentation - englishMendeley teaching presentation - english
Mendeley teaching presentation - english
 
How to find articles ppt
How to find articles ppt How to find articles ppt
How to find articles ppt
 
EndNote CWYW (PC)
EndNote CWYW (PC)EndNote CWYW (PC)
EndNote CWYW (PC)
 
Mendeley Workshop Presentation
Mendeley Workshop PresentationMendeley Workshop Presentation
Mendeley Workshop Presentation
 
Zotero
ZoteroZotero
Zotero
 
EndNote
EndNoteEndNote
EndNote
 
Endnote
EndnoteEndnote
Endnote
 
Introduction to Mendeley - Mahantesh Biradar
Introduction to Mendeley - Mahantesh BiradarIntroduction to Mendeley - Mahantesh Biradar
Introduction to Mendeley - Mahantesh Biradar
 
Endnote
EndnoteEndnote
Endnote
 
Guide to Mendeley Reference Management
Guide to Mendeley Reference ManagementGuide to Mendeley Reference Management
Guide to Mendeley Reference Management
 
General Anatomy of a Results Screen
General Anatomy of a Results ScreenGeneral Anatomy of a Results Screen
General Anatomy of a Results Screen
 
Mendeley for Reference Management
Mendeley for Reference ManagementMendeley for Reference Management
Mendeley for Reference Management
 
MS Word 2010 tutorial 1
MS Word 2010 tutorial 1MS Word 2010 tutorial 1
MS Word 2010 tutorial 1
 
Guide to Mendeley PTSL
Guide to Mendeley PTSLGuide to Mendeley PTSL
Guide to Mendeley PTSL
 
How To Add CSS The Correct Way.
How To Add CSS The Correct Way.How To Add CSS The Correct Way.
How To Add CSS The Correct Way.
 
Endnote Tipsheet 2014
Endnote Tipsheet 2014Endnote Tipsheet 2014
Endnote Tipsheet 2014
 
Guide to mendeley (mac os)
Guide to mendeley (mac os)Guide to mendeley (mac os)
Guide to mendeley (mac os)
 

Viewers also liked

Summarize Data Using a Formula
Summarize Data Using a FormulaSummarize Data Using a Formula
Summarize Data Using a Formulacoachhahn
 
Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLcoachhahn
 
Formatting Worksheets
Formatting WorksheetsFormatting Worksheets
Formatting Worksheetscoachhahn
 
Impact of Images
Impact of ImagesImpact of Images
Impact of Imagescoachhahn
 
Shape and line
Shape and lineShape and line
Shape and linecoachhahn
 
Reference Data in Formulas
Reference Data in FormulasReference Data in Formulas
Reference Data in Formulascoachhahn
 
Communications and Networks
Communications and NetworksCommunications and Networks
Communications and Networkscoachhahn
 
Formatting Cells
Formatting CellsFormatting Cells
Formatting Cellscoachhahn
 
Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLcoachhahn
 
Creating and Modifying Charts
Creating and Modifying ChartsCreating and Modifying Charts
Creating and Modifying Chartscoachhahn
 
Formatting Charts
Formatting ChartsFormatting Charts
Formatting Chartscoachhahn
 
Format as a Table
Format as a TableFormat as a Table
Format as a Tablecoachhahn
 
Repetition and Unity
Repetition and UnityRepetition and Unity
Repetition and Unitycoachhahn
 
Balance & Proximity
Balance & ProximityBalance & Proximity
Balance & Proximitycoachhahn
 
THe Evolution of Web Design
THe Evolution of Web DesignTHe Evolution of Web Design
THe Evolution of Web Designcoachhahn
 
The Elements of Design - Texture and Typography
The Elements of Design - Texture and TypographyThe Elements of Design - Texture and Typography
The Elements of Design - Texture and Typographycoachhahn
 

Viewers also liked (18)

Summarize Data Using a Formula
Summarize Data Using a FormulaSummarize Data Using a Formula
Summarize Data Using a Formula
 
Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTML
 
Formatting Worksheets
Formatting WorksheetsFormatting Worksheets
Formatting Worksheets
 
Impact of Images
Impact of ImagesImpact of Images
Impact of Images
 
Shape and line
Shape and lineShape and line
Shape and line
 
Reference Data in Formulas
Reference Data in FormulasReference Data in Formulas
Reference Data in Formulas
 
Communications and Networks
Communications and NetworksCommunications and Networks
Communications and Networks
 
Formatting Cells
Formatting CellsFormatting Cells
Formatting Cells
 
Lesson 2 - More Basic HTML
Lesson 2 - More Basic HTMLLesson 2 - More Basic HTML
Lesson 2 - More Basic HTML
 
Creating and Modifying Charts
Creating and Modifying ChartsCreating and Modifying Charts
Creating and Modifying Charts
 
Formatting Charts
Formatting ChartsFormatting Charts
Formatting Charts
 
Format as a Table
Format as a TableFormat as a Table
Format as a Table
 
Repetition and Unity
Repetition and UnityRepetition and Unity
Repetition and Unity
 
Balance & Proximity
Balance & ProximityBalance & Proximity
Balance & Proximity
 
THe Evolution of Web Design
THe Evolution of Web DesignTHe Evolution of Web Design
THe Evolution of Web Design
 
Movement
MovementMovement
Movement
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
The Elements of Design - Texture and Typography
The Elements of Design - Texture and TypographyThe Elements of Design - Texture and Typography
The Elements of Design - Texture and Typography
 

Similar to T.2.8.pp

Similar to T.2.8.pp (20)

IP_-_Lecture_4,_5_Chapter-2.ppt
IP_-_Lecture_4,_5_Chapter-2.pptIP_-_Lecture_4,_5_Chapter-2.ppt
IP_-_Lecture_4,_5_Chapter-2.ppt
 
Advanced html
Advanced htmlAdvanced html
Advanced html
 
Xxx test
Xxx testXxx test
Xxx test
 
Chapter 2 Final.pptx
Chapter 2 Final.pptxChapter 2 Final.pptx
Chapter 2 Final.pptx
 
Web forms and html lecture Number 3
Web forms and html lecture Number 3Web forms and html lecture Number 3
Web forms and html lecture Number 3
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Htmlppt
Htmlppt Htmlppt
Htmlppt
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
 
Class 1: Introductions
Class 1: IntroductionsClass 1: Introductions
Class 1: Introductions
 
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
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
Web design - Working with Text and Lists in HTML
Web design - Working with Text and Lists in HTMLWeb design - Working with Text and Lists in HTML
Web design - Working with Text and Lists in HTML
 
Shyam sunder Rajasthan Computer
Shyam sunder Rajasthan ComputerShyam sunder Rajasthan Computer
Shyam sunder Rajasthan Computer
 
Html
HtmlHtml
Html
 

More from coachhahn

Illustrations
IllustrationsIllustrations
Illustrationscoachhahn
 
Communications & Networks
Communications & NetworksCommunications & Networks
Communications & Networkscoachhahn
 
Communications & Networks
Communications & NetworksCommunications & Networks
Communications & Networkscoachhahn
 
Format and Modify Text and Display and Print Formulas
Format and Modify Text and Display and Print FormulasFormat and Modify Text and Display and Print Formulas
Format and Modify Text and Display and Print Formulascoachhahn
 
Rows and Columns
Rows and ColumnsRows and Columns
Rows and Columnscoachhahn
 
Excel Objective 1: Creating and Manipulating Data
Excel Objective 1: Creating and Manipulating DataExcel Objective 1: Creating and Manipulating Data
Excel Objective 1: Creating and Manipulating Datacoachhahn
 
The Elements of Design - Color
The Elements of Design - ColorThe Elements of Design - Color
The Elements of Design - Colorcoachhahn
 
Search tools
Search toolsSearch tools
Search toolscoachhahn
 
T.2.2.pp(new)
T.2.2.pp(new)T.2.2.pp(new)
T.2.2.pp(new)coachhahn
 

More from coachhahn (12)

Illustrations
IllustrationsIllustrations
Illustrations
 
Communications & Networks
Communications & NetworksCommunications & Networks
Communications & Networks
 
Communications & Networks
Communications & NetworksCommunications & Networks
Communications & Networks
 
Format and Modify Text and Display and Print Formulas
Format and Modify Text and Display and Print FormulasFormat and Modify Text and Display and Print Formulas
Format and Modify Text and Display and Print Formulas
 
Banners
BannersBanners
Banners
 
Logos
LogosLogos
Logos
 
Rows and Columns
Rows and ColumnsRows and Columns
Rows and Columns
 
Excel Objective 1: Creating and Manipulating Data
Excel Objective 1: Creating and Manipulating DataExcel Objective 1: Creating and Manipulating Data
Excel Objective 1: Creating and Manipulating Data
 
The Elements of Design - Color
The Elements of Design - ColorThe Elements of Design - Color
The Elements of Design - Color
 
Search tools
Search toolsSearch tools
Search tools
 
T.2.2.pp(new)
T.2.2.pp(new)T.2.2.pp(new)
T.2.2.pp(new)
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
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.pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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 SectorsAssociation for Project Management
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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 SDThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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. Mahajanpragatimahajan3
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 

T.2.8.pp

  • 1. HTML Lists Lesson 8 Module 2: HTML Basics
  • 2. Lesson Overview  In this lesson, you will learn to: 1. Create lists using HTML code. 2. Improve readability of a Web page using lists.
  • 3. Guiding Questions 1. Find a Web page that uses a list. How does a list impact the readability of the page? 2. Give 2 examples of how a list could be used in a Web page or Web site on another topic?
  • 4. Types of Lists  Threetypes of lists which will be covered in this lesson: 1. Unordered lists 2. Ordered lists 3. Definition lists
  • 5. Unordered Lists  Similarto bulleted lists in word processing  Items in the list have no special order  Changing the order would not change the meaning of the information  Example: A listing of your school subjects:  Science  Math  Reading
  • 6. Creating an Unordered List  Start with the <ul>…</ul> tags to designate the beginning and ending of an unordered list  Add <li>…</li> tags to identify items to be placed in the list  To create our list of school subjects, use the following HTML code: <ul> <li>Science</li> <li>Math</li> <li>Reading</li> <ul>
  • 7. Ordered Lists  Use a numbering or ordering system to create meaning  Changing the order changes the meaning  For example: A list of the steps to make a peanut butter sandwich.  Changing the order of the steps changes the outcome of the sandwich
  • 8. Creating an Ordered List  Startwith the <ol>…</ol> tags to designate the beginning and ending of an ordered list  The same <li> tag identifies items in the list
  • 9. Creating an Ordered List  Code for making a peanut butter sandwich: <ol> <li>Get a slice of bread.</li> <li>Open a jar of peanut butter.</li> <li>Spread peanut butter on the slice of bread with a knife.</li> <li>Place another slice of bread on top.</li> <li>Eat the sandwich.</li> </ol>
  • 10. Definition Lists  Used to define terms  Different from unordered and ordered lists  Has two parts 1. The term 2. The definition  Labeling of the parts is very important
  • 11. Creating a Definition List A <dl>…</dl> tag identifies the beginning and ending of the list  A <dt>…</dt> tag identifies the terms  A <dd>…</dd> tag identifies the definitions
  • 12. Creating a Definition List  Example of definition list coding: <dl> <dt>format</dt> <dd>the design and layout of a page</dd> <dt>source code</dt> <dd>the HTML code that creates a Web page</dd> <dt>Web page</dt> <dd>a file written in HTML, or other Web publishing language</dd> </dl>
  • 13. Lesson Review  Describe the code needed to create each of the following: 1. Unordered list 2. Ordered list 3. Definition list
  • 14. Practice: Lists 1. Create the following changes in your “Tags and Attributes” Web page:  An unordered list  An ordered list  A definition list 2. Challenge Activity: Add underlining as appropriate.

Editor's Notes

  1. Lesson 8 Overview
  2. Post one or more of these questions in an area where students can read them and allow time for students to respond to the questions. Discuss the student answers these questions.
  3. Introduce lists by discussing the types of lists that will be covered in this module.Unordered OrderedDefinition
  4. Unordered lists are similar to a bulleted list in word processing. These lists items are presented in no special order. If the order of the list is changed, it does not change the meaning of the information. For example, if you created a list of the subjects you are studying in school you can list them in any order. The order has nothing to do with the meaning of the list.
  5. To create an unordered list, two tags are needed. The &lt;ul&gt;…&lt;/ul&gt; tag is used to designate the beginning and ending of the unordered list, while the &lt;li&gt;…&lt;/li&gt; is used to identify the items to be placed in the list. Here is the code needed to create the list of school subjects: &lt;ul&gt; &lt;li&gt;Science&lt;/li&gt; &lt;li&gt;Math&lt;/li&gt; &lt;li&gt;Reading&lt;/li&gt; &lt;/ul&gt;
  6. Discuss ordered lists. Ordered lists use the numbering system and give an order to the items in the list. Changing this order would mean changing the meaning of the information in the list. For example, if you created a list of steps to make a peanut butter sandwich you would need to put the steps in a certain order. Changing the order would mean changing the outcome of the steps.
  7. To create an ordered list, only one of the tags needs to be changed. Instead of the &lt;ul&gt; tag a &lt;ol&gt; tag is used. The same &lt;li&gt; tag used to identify items in the list is used. Here is the code needed to create the steps in making a peanut butter sandwich. &lt;ol&gt; &lt;li&gt;Get a slice of bread.&lt;/li&gt; &lt;li&gt;Open a jar of peanut butter.&lt;/li&gt; &lt;li&gt;Spread peanut butter on the slice of bread with a knife.&lt;/li&gt; &lt;li&gt;Place another slice of bread on top.&lt;/li&gt; &lt;li&gt;Eat the sandwich.&lt;/li&gt; &lt;/ol&gt;
  8. To create an ordered list, only one of the tags needs to be changed. Instead of the &lt;ul&gt; tag a &lt;ol&gt; tag is used. The same &lt;li&gt; tag used to identify items in the list is used. Here is the code needed to create the steps in making a peanut butter sandwich. &lt;ol&gt; &lt;li&gt;Get a slice of bread.&lt;/li&gt; &lt;li&gt;Open a jar of peanut butter.&lt;/li&gt; &lt;li&gt;Spread peanut butter on the slice of bread with a knife.&lt;/li&gt; &lt;li&gt;Place another slice of bread on top.&lt;/li&gt; &lt;li&gt;Eat the sandwich.&lt;/li&gt; &lt;/ol&gt;
  9. A definition list is used when you want to define terms for the viewer. This list is a little different than unordered and ordered lists. A definition list includes two parts, the term and the definition. Of course, correct labeling of these items is very important.
  10. To create a definition list, a &lt;dl&gt;…&lt;/dl&gt; tag is needed to identify the beginning and ending of the list. Each term is identified by a &lt;dt&gt;…&lt;/dt&gt; tag and each definition is identified by a &lt;dd&gt;…&lt;/dd&gt; tag. It is important to include the definition with the term so that they appear correctly on your Web page. Here is the code for a definition list for a few terms from this module: &lt;dl&gt; &lt;dt&gt;format&lt;/dt&gt; &lt;dd&gt;the design and layout of a page&lt;/dd&gt; &lt;dt&gt;source code&lt;/dt&gt; &lt;dd&gt;the HTML code that creates a Web page&lt;/dd&gt; &lt;dt&gt;Web page&lt;/dt&gt; &lt;dd&gt;a file written in HTML or other Web publishing language&lt;/dd&gt; &lt;/dl&gt;
  11. Review concepts covered if needed with the students and discuss the practice activity.
  12. This is the last slide of the presentation.