SlideShare a Scribd company logo
WEBPROG1 – Web Programming 1 (HTML)                                                         Prelim Period
                                                                                             Handout #4


HTML Lists
     There are 3 different types of lists. Use <ol> for ordered lists, <ul> for unordered lists, and <dl> for
definition lists. Use the type and start attributes to fine tune your lists accordingly.

    •     <ul> - unordered list; bullets
    •     <ol> - ordered list; numbers
    •     <dl> - definition list; dictionary


HTML Ordered Lists

    Use the <ol> tag to begin an ordered list. Place the <li> (list item) tag between your opening <ol>
and closing </ol> tags to create list items. Here's an example.

Code:
<h4 align="center">Goals</h4>
<ol>
<li>Find a Job</li>
<li>Get Money</li>
<li>Move Out</li>
</ol>

Display:

                                                 Goals
     1.    Find a Job
     2.    Get Money
     3.    Move Out

    Start your ordered list on any number besides 1 using the start attribute.

Code:
<h4 align="center">Goals</h4>
<ol start="4" >
<li>Buy Food</li>
<li>Enroll in College</li>
<li>Get a Degree</li>
</ol>
Display:

                                                 Goals
     4.    Buy Food
     5.    Enroll in College
     6.    Get a Degree




Prepared By: RICHARD F. ORPIANO                                                                Page 1 of 3
WEBPROG1 – Web Programming 1 (HTML)                                                      Prelim Period
                                                                                          Handout #4


HTML Ordered Lists Continued
   There are 4 other types of ordered lists. Instead of generic numbers you can replace them with
roman numberals or letters, both capital and lower-case. Use the type attribute to change the
numbering.

Code:
<ol       type="a">
<ol       type="A">
<ol       type="i">
<ol       type="I">
Display:
 Lower-Case Letters        Upper-Case Letters      Lower-Case Numerals Upper-Case Numerals
   a. Find a Job             A. Find a Job            i.  Find a Job     I.   Find a Job
   b. Get Money              B. Get Money            ii.  Get Money     II.   Get Money

    c.    Move Out           C. Move Out            iii.   Move Out           III.   Move Out


HTML Unordered Lists
     Create a bulleted list with the <ul> tag. There are three basic shapes for an unordered list: square,
disc, and circle. The default bullet is the disc.

Code:
<h4 align="center">Shopping List</h4>
<ul>
<li>Milk</li>
<li>Toilet Paper</li>
<li>Cereal</li>
<li>Bread</li>
</ul>
Display:

                                         Shopping List
      •    Milk
      •    Toilet Paper
      •    Cereal
      •    Bread

Code:
<ul type="square">
<ul type="disc">
<ul type="circle">




Prepared By: RICHARD F. ORPIANO                                                             Page 2 of 3
WEBPROG1 – Web Programming 1 (HTML)                                                      Prelim Period
                                                                                          Handout #4


Code:
     type="square"                 type="disc"               type="circle"
     Milk                     •     Milk                o      Milk
     Toilet Paper             •     Toilet Paper        o      Toilet Paper
     Cereal                   •     Cereal              o      Cereal

       Bread                  •     Bread               o     Bread


HTML Definition Term Lists
     Make definition lists as seen in dictionaries using the <dl> tag. These lists displace the term word
just above the definition itself for a unique look. It's wise to bold the terms to displace them further.

    •   <dl> - defines the start of the list
    •   <dt> - definition term

<dl>
<dt><b>Fromage</b></dt>
<dd>French word for cheese.</dd>
<dt><b>Voiture</b></dt>
<dd>French word for car.</dd>
</dt>
Display:
Fromage
        French word for cheese.
Voiture
        French word for car.




Prepared By: RICHARD F. ORPIANO                                                             Page 3 of 3

More Related Content

Similar to Handout4 lists

Web topic 8 listings in html
Web topic 8  listings in htmlWeb topic 8  listings in html
Web topic 8 listings in html
CK Yang
 
html-list-type-description-with-examples
html-list-type-description-with-exampleshtml-list-type-description-with-examples
html-list-type-description-with-examples
203t1a0571
 
HTML LIST
HTML LISTHTML LIST
HTML LIST
Swetha Alle
 
Ordered lists
Ordered listsOrdered lists
Ordered lists
Toni Norman
 
Castro Chapter 15
Castro Chapter 15Castro Chapter 15
Castro Chapter 15
Jeff Byrnes
 
Html-list
Html-listHtml-list
v3-html-list-210321161325.pdf
v3-html-list-210321161325.pdfv3-html-list-210321161325.pdf
v3-html-list-210321161325.pdf
makalakshmidurga123
 
computer language - html lists
computer language - html listscomputer language - html lists
computer language - html lists
Dr. I. Uma Maheswari Maheswari
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
Salman Memon
 
Week 2 html
Week 2   htmlWeek 2   html
Week 2 html
brianjihoonlee
 
Lecture 4 html lists
Lecture 4   html listsLecture 4   html lists
Lecture 4 html lists
eShikshak
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
Slides4Victor
 
1-24-24 INFO 3205.pptx
1-24-24 INFO 3205.pptx1-24-24 INFO 3205.pptx
1-24-24 INFO 3205.pptx
MattMarino13
 
Good web design
Good web designGood web design
Good web design
Mafusi Mpelane
 
Html tags-chart
Html tags-chartHtml tags-chart
Html tags-chart
Nitra Ntc
 

Similar to Handout4 lists (15)

Web topic 8 listings in html
Web topic 8  listings in htmlWeb topic 8  listings in html
Web topic 8 listings in html
 
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
 
Ordered lists
Ordered listsOrdered lists
Ordered lists
 
Castro Chapter 15
Castro Chapter 15Castro Chapter 15
Castro Chapter 15
 
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
 
computer language - html lists
computer language - html listscomputer language - html lists
computer language - html lists
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
 
Week 2 html
Week 2   htmlWeek 2   html
Week 2 html
 
Lecture 4 html lists
Lecture 4   html listsLecture 4   html lists
Lecture 4 html lists
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
 
1-24-24 INFO 3205.pptx
1-24-24 INFO 3205.pptx1-24-24 INFO 3205.pptx
1-24-24 INFO 3205.pptx
 
Good web design
Good web designGood web design
Good web design
 
Html tags-chart
Html tags-chartHtml tags-chart
Html tags-chart
 

More from Nadine Guevarra

Handout3 links
Handout3 linksHandout3 links
Handout3 links
Nadine Guevarra
 
Handout2 formatting tags
Handout2 formatting tagsHandout2 formatting tags
Handout2 formatting tags
Nadine Guevarra
 
Handout1 intro to html
Handout1 intro to htmlHandout1 intro to html
Handout1 intro to html
Nadine Guevarra
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
Nadine Guevarra
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
Nadine Guevarra
 
War and man’s past
War and man’s pastWar and man’s past
War and man’s past
Nadine Guevarra
 
Olympics
OlympicsOlympics
Olympics
Nadine Guevarra
 
Mother and child
Mother and childMother and child
Mother and child
Nadine Guevarra
 
Lec no. 3 comp hardware components
Lec no. 3 comp hardware componentsLec no. 3 comp hardware components
Lec no. 3 comp hardware components
Nadine Guevarra
 
Intro to spreadsheet
Intro to spreadsheetIntro to spreadsheet
Intro to spreadsheet
Nadine Guevarra
 
Excel.01
Excel.01Excel.01
Excel.01
Nadine Guevarra
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
Nadine Guevarra
 
On giving 001
On giving 001On giving 001
On giving 001
Nadine Guevarra
 
Poetry 001
Poetry 001Poetry 001
Poetry 001
Nadine Guevarra
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
Nadine Guevarra
 
The river merchant's wife 001
The river merchant's wife 001The river merchant's wife 001
The river merchant's wife 001
Nadine Guevarra
 
Wl lecture 2 essay 001
Wl lecture 2 essay 001Wl lecture 2 essay 001
Wl lecture 2 essay 001
Nadine Guevarra
 

More from Nadine Guevarra (17)

Handout3 links
Handout3 linksHandout3 links
Handout3 links
 
Handout2 formatting tags
Handout2 formatting tagsHandout2 formatting tags
Handout2 formatting tags
 
Handout1 intro to html
Handout1 intro to htmlHandout1 intro to html
Handout1 intro to html
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 
War and man’s past
War and man’s pastWar and man’s past
War and man’s past
 
Olympics
OlympicsOlympics
Olympics
 
Mother and child
Mother and childMother and child
Mother and child
 
Lec no. 3 comp hardware components
Lec no. 3 comp hardware componentsLec no. 3 comp hardware components
Lec no. 3 comp hardware components
 
Intro to spreadsheet
Intro to spreadsheetIntro to spreadsheet
Intro to spreadsheet
 
Excel.01
Excel.01Excel.01
Excel.01
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
On giving 001
On giving 001On giving 001
On giving 001
 
Poetry 001
Poetry 001Poetry 001
Poetry 001
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
The river merchant's wife 001
The river merchant's wife 001The river merchant's wife 001
The river merchant's wife 001
 
Wl lecture 2 essay 001
Wl lecture 2 essay 001Wl lecture 2 essay 001
Wl lecture 2 essay 001
 

Recently uploaded

Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 

Recently uploaded (20)

Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 

Handout4 lists

  • 1. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #4 HTML Lists There are 3 different types of lists. Use <ol> for ordered lists, <ul> for unordered lists, and <dl> for definition lists. Use the type and start attributes to fine tune your lists accordingly. • <ul> - unordered list; bullets • <ol> - ordered list; numbers • <dl> - definition list; dictionary HTML Ordered Lists Use the <ol> tag to begin an ordered list. Place the <li> (list item) tag between your opening <ol> and closing </ol> tags to create list items. Here's an example. Code: <h4 align="center">Goals</h4> <ol> <li>Find a Job</li> <li>Get Money</li> <li>Move Out</li> </ol> Display: Goals 1. Find a Job 2. Get Money 3. Move Out Start your ordered list on any number besides 1 using the start attribute. Code: <h4 align="center">Goals</h4> <ol start="4" > <li>Buy Food</li> <li>Enroll in College</li> <li>Get a Degree</li> </ol> Display: Goals 4. Buy Food 5. Enroll in College 6. Get a Degree Prepared By: RICHARD F. ORPIANO Page 1 of 3
  • 2. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #4 HTML Ordered Lists Continued There are 4 other types of ordered lists. Instead of generic numbers you can replace them with roman numberals or letters, both capital and lower-case. Use the type attribute to change the numbering. Code: <ol type="a"> <ol type="A"> <ol type="i"> <ol type="I"> Display: Lower-Case Letters Upper-Case Letters Lower-Case Numerals Upper-Case Numerals a. Find a Job A. Find a Job i. Find a Job I. Find a Job b. Get Money B. Get Money ii. Get Money II. Get Money c. Move Out C. Move Out iii. Move Out III. Move Out HTML Unordered Lists Create a bulleted list with the <ul> tag. There are three basic shapes for an unordered list: square, disc, and circle. The default bullet is the disc. Code: <h4 align="center">Shopping List</h4> <ul> <li>Milk</li> <li>Toilet Paper</li> <li>Cereal</li> <li>Bread</li> </ul> Display: Shopping List • Milk • Toilet Paper • Cereal • Bread Code: <ul type="square"> <ul type="disc"> <ul type="circle"> Prepared By: RICHARD F. ORPIANO Page 2 of 3
  • 3. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #4 Code: type="square" type="disc" type="circle"  Milk • Milk o Milk  Toilet Paper • Toilet Paper o Toilet Paper  Cereal • Cereal o Cereal  Bread • Bread o Bread HTML Definition Term Lists Make definition lists as seen in dictionaries using the <dl> tag. These lists displace the term word just above the definition itself for a unique look. It's wise to bold the terms to displace them further. • <dl> - defines the start of the list • <dt> - definition term <dl> <dt><b>Fromage</b></dt> <dd>French word for cheese.</dd> <dt><b>Voiture</b></dt> <dd>French word for car.</dd> </dt> Display: Fromage French word for cheese. Voiture French word for car. Prepared By: RICHARD F. ORPIANO Page 3 of 3