In: Computer Science
.Create, test, and validate an XHTML document that describes an ordered list with the following contents: The highest level should be the names of your parents, with your mother first. Under each parent, you must have a nested, ordered list of the brothers and sisters of your parents, in order by age, eldest first. Each of the nested lists in turn must have nested lists that list the children of your uncles and aunts (your cousins)—under the proper parents, of course. Regardless of how many aunts, uncles, and cousins you actually have, there must be at least three list items in each sublist below each of your parents and below each of your aunts and uncles.
XHTML: Extensible HyperText Markup Language
XHTML is clean and stricter version of HTML. You have to follow all the rules of XHTML.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XHTML</title>
</head>
<body>
<ol>
<li>
Asha Shewale
<ol>
<li>
Sadashiv Mali
<ol>
<li>Gopal Mali</li>
<li>Jaya Mali</li>
<li>Vaishali Mali</li>
</ol>
</li>
<li>
Shamrav Mali
<ol>
<li>Golya Mali</li>
<li>Jayesh Mali</li>
<li>Sachin Mali</li>
</ol>
</li>
<li>
Sanju Mali
<ol>
<li>Pari Mali</li>
<li>Shubham Mali</li>
<li>Pratik Mali</li>
</ol>
</li>
</ol>
</li>
<li>
Rajendra Shewale
<ol>
<li>
Nana Shewale
<ol>
<li>Mahesh Shewale</li>
<li>Kiran Shewale</li>
<li>Chaya Shewale</li>
</ol>
</li>
<li>
Tai Shewale
<ol>
<li>Jayesh Shewale</li>
<li>Rahul Shewale</li>
<li>Nitin Shewale</li>
</ol>
</li>
<li>
Pintu Shewale
<ol>
<li>Varsha Shewale</li>
<li>Rohan Shewale</li>
<li>Pritesh Shewale</li>
</ol>
</li>
</ol>
</li>
</ol>
</body>
</html>
Output :
XHTML validation: