SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente (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)
 

Destacado

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
 

Destacado (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 a T.2.8.pp

Similar a 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
 

Más de 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
 

Más de 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
 

Último

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

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.

Notas del editor

  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.