The following diagram shows a browser display of a web page . Write the required HTML code to display the information on the web browser display. State clearly your assumptions, if any.

Assumption: Use <h1> for the main title, <h2> for animal names, <p> for descriptions, and <ul> for the bulleted lists.
HTML
<html>
<body>
<h1>Animals</h1>
<h2>Dog</h2>
<p>Dogs are domesticated mammals...</p>
<ul>
<li>Family: Canidae</li>
<li>Lifespan: 10-13 years</li>
<li>Diet: Omnivore</li>
</ul>
<h2>Cat</h2>
<p>Cats are small, carnivorous mammals...</p>
<ul>
<li>Family: Felidae</li>
<li>Lifespan: 12-15 years</li>
<li>Diet: Carnivore</li>
</ul>
<h2>Elephant</h2>
<p>Elephants are large mammals...</p>
<ul>
<li>Family: Elephantidae</li>
<li>Lifespan: 60-70 years</li>
<li>Diet: Herbivore</li>
</ul>
</body>
</html>
InfotechTamil A Blog for IT Related Articles in Tamil