27.0k views
1 vote
Create an HTML document containing three ordered lists: drinks, meals, oderec snacks. Each ordered list should contain a nested, unordered list of your definit favorite flavors. Provide a minimum of three flavors in each unordered list.

User Len Joseph
by
8.5k points

1 Answer

3 votes

Answer:

Step-by-step explanation:

Here's an example of an HTML document containing three ordered lists with nested unordered lists of favorite flavors:

html

<!DOCTYPE html>

<html>

<head>

<title>My Favorite Flavors</title>

</head>

<body>

<h1>My Favorite Flavors</h1>

<h2>Drinks</h2>

<ol>

<li>Coffee

<ul>

<li>Mocha</li>

<li>Caramel</li>

<li>Vanilla</li>

</ul>

</li>

<li>Tea

<ul>

<li>Chai</li>

<li>Green tea</li>

<li>Peach</li>

</ul>

</li>

<li>Smoothies

<ul>

<li>Strawberry Banana</li>

<li>Mango Pineapple</li>

<li>Blueberry</li>

</ul>

</li>

</ol>

<h2>Meals</h2>

<ol>

<li>Pizza

<ul>

<li>Margherita</li>

<li>Pepperoni</li>

<li>Hawaiian</li>

</ul>

</li>

<li>Burger

<ul>

<li>Cheeseburger</li>

<li>Mushroom Swiss</li>

<li>Bacon BBQ</li>

</ul>

</li>

<li>Pasta

<ul>

<li>Spaghetti Bolognese</li>

<li>Carbonara</li>

<li>Pesto</li>

</ul>

</li>

</ol>

<h2>Snacks</h2>

<ol>

<li>Chips

<ul>

<li>Sour Cream and Onion</li>

<li>Barbecue</li>

<li>Salt and Vinegar</li>

</ul>

</li>

<li>Popcorn

<ul>

<li>Butter</li>

<li>Caramel</li>

<li>White Cheddar</li>

</ul>

</li>

<li>Chocolate

<ul>

<li>Milk Chocolate</li>

<li>Dark Chocolate</li>

<li>Hazelnut</li>

</ul>

</li>

</ol>

</body>

</html>

In this HTML document, there are three ordered lists: "Drinks," "Meals," and "Snacks." Each ordered list contains a nested unordered list of favorite flavors. Each nested unordered list contains a minimum of three flavors.

User Kuba
by
8.5k points