SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances (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)
 

En vedette

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
 

En vedette (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
 

Similaire à T.2.8.pp

Similaire à 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
 

Plus 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
 

Plus 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
 

Dernier

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
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.pptxheathfieldcps1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
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
 
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
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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.pdfAdmir Softic
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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
 
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.pdfJayanti Pande
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Dernier (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
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 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
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
 
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
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
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
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

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.

Notes de l'éditeur

  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.