1 / 22

Creating and Maintaining Grocery and Santa's Lists with HTML

Learn how to effectively create and maintain grocery and Santa's lists using HTML. This guide covers the use of unordered and ordered lists to structure your lists clearly and efficiently. We’ll explore examples like grocery staples (milk, bread, eggs) and Santa's good and bad lists. By using HTML tags like `<ul>`, `<ol>`, and `<li>`, you can create informative and organized lists for various purposes. Master these techniques to enhance your web pages with well-structured content.

larue
Télécharger la présentation

Creating and Maintaining Grocery and Santa's Lists with HTML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Pages:Creating & Maintaining Lists

  2. Grocery List • Milk • Bread • Eggs

  3. Unordered Lists • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs

  4. Ordered Lists • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs

  5. Definition Lists • Grocery List • Milk • Bread • Eggs

  6. Santa’s List • Good • Frank • Mary • John • Bad • Linda • Tom

  7. UnorderedList • Santa’s List • Good • Frank • Mary • John • Bad • Saul • Mike

  8. UnorderedList OrderedList OrderedList • Santa’s List • Good • Frank • Mary • John • Bad • Linda • Tom

  9. Unordered Lists Ordered Lists Definition Lists Starting Tag Ending tag Item Tag

  10. Unordered Lists • <u>Grocery List</u> • <ul> • <li>Milk</li> • <li>Bread</li> • <li>Eggs</li> • </ul> Starting Tag Ending Tag Item Tag <UL> • Grocery List • Milk • Bread • Eggs </UL> <LI></LI>

  11. Ordered Lists • <u>Grocery List</u> • <ol> • <li>Milk</li> • <li>Bread</li> • <li>Eggs</li> • </ol> Starting Tag Ending Tag Item Tag <OL> • Grocery List • Milk • Bread • Eggs </OL> <LI></LI>

  12. Definition Lists • <u>Grocery List</u> • <dl> • <dt> Staples</dt> • <dd>Milk</dd> • <dd>Bread</dd> • <dd>Eggs </dd> • </dl> Starting Tag Ending Tag Defn. Term Tag Defn. Item Tag <DL> • Grocery List • Staples Milk Bread Eggs </DL> <DT> </DT> <DD> </DD>

  13. <u>Santa’s List</u> • <ul> • <li>Good</li> • <ol> • <li>Frank</li> • <li>Mary </li> • <li>John </li> • </ol> • <li>Bad</li> • <ol> • <li>Linda </li> • <li>Tom </li> • </ol> • </ul> • Santa’s List • Good • Frank • Mary • John • Bad • Linda • Tom

  14. <u>Santa’s List</u> • <ul> • <li>Good</li> • <ol> • <li>Frank</li> • <li>Mary</li> • <li>John </li> • </ol> • <li>Bad </li> • <ol> • <li>Linda </li> • <li>Tom </li> • </ol> • </ul> • Santa’s List • Good • Frank • Mary • John • Bad • Linda • Tom <u>Good</u></li> <u>Bad</u></li>

  15. Option Unordered Lists • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs Starting Tag Ending Tag Item Tag <UL> </UL> <LI></LI>

  16. Unordered Lists • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs disc circle square Default <ul type=“circle”>

  17. <html> <head> <title>My Web Page </title> </head> <body> • Grocery List • Milk • Bread • Eggs </body></html>

  18. <html> <head> <title>My Web Page </title> </head> <body> • Grocery List • Milk • Bread • Eggs <u>Grocery List </u> <ul> <ul type=“square”> <li> Milk </li> <li> Bread </li> <li> Eggs </li> </ul> </body></html>

  19. Ordered Lists • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs • Grocery List • Milk • Bread • Eggs 1 A I a Default i <OL type = “A”>

  20. Ordered Lists • Grocery List • 5. Milk • 6. Bread • 7. Eggs <ol type = “1” start = “5”> <ol type = “1”>

  21. Ordered Lists • Grocery List • E. Milk • F. Bread • G. Eggs <ol type = “A” start = “5”>

  22. HTML Your turn!

More Related