Professional Documents
Culture Documents
Nested List in HTML5: Owsh 1
Nested List in HTML5: Owsh 1
Create a nested list on ‘Types of foods’. It should have a listing of the food names for the following
category – Indian, Chinese, Italian, Continental and Mexican. Use roman number in capitals to make the
main list and square box to make the sub list.
Task 1:
<!DOCTYPE html>
<html>
<head>
<title> Types of Cuisine </title>
<style type=”text/css”>
body{background-color: yellow}
ol {list-style-type: upper-roman; color: maroon; font-size: large}
ul {list-style-type: circle; color:blue}
li{ font-size: 20px;}
h1{color:blue}
</style>
</head>
<body>
<h1> Types of Cuisine </h1>
<ol>
<li style=color:red> Indian </li>
<p> The traditional food of India has been widely appreciated for its fabulous use of herbs and spices.
Indian cuisine is known for its large assortment of dishes.</p>
<ul>
<li style=color:darkgreen> Punjabi food </li>
<li style=color:darkgreen> South Indian food</li>
<li style=color:darkgreen> Gujarati food </li>
<li style=color:darkgreen> Maharashtrian food </li>
<li style=color:darkgreen> Mughlai food </li>
</ul>
<br>
<li style=color:crimson> Chinese </li>
<p> Chinese cuisine includes styles originating from the diverse regions of China, as well as from Chinese
people in other parts of the world.</p>
<ul>
<li style=color:aqua> Noodles </li>
<li style=color:aqua > Fried Rice </li>
1|Page
1
<li style=color:aqua> Manchurian </li>
</ul>
<br>
2|Page
2
Task 3:
3|Page
3 14