rainyday.dev/freecodcamp/build-a-tribute-page/index.html

33 lines
1.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>A tribute to cats</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main id="main">
<h1 id="title">A tribute to the domestic cat</h1>
<figure id="img-div">
<img id="image" src="https://upload.wikimedia.org/wikipedia/commons/1/15/Cat_August_2010-4.jpg" alt="A male tabby cat - By Alvesgaspar - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=11390283">
<figcaption id="img-caption">
A male tabby cat By <a href="//commons.wikimedia.org/wiki/User:Alvesgaspar" title="User:Alvesgaspar">Alvesgaspar</a> - <span class="int-own-work" lang="en">Own work</span>, <a href="https://creativecommons.org/licenses/by-sa/3.0" title="Creative Commons Attribution-Share Alike 3.0">CC BY-SA 3.0</a>, <a href="https://commons.wikimedia.org/w/index.php?curid=11390283">Link</a>
</figcaption>
</figure>
<section id="tribute-info">
<h2>Interesting facts about cats</h2>
<ul>
<li>Domestication of the cat occurred in the Far East around 7500 BC</li>
<li>Female domestic cats often have litters of 2 to 5 kittens</li>
<li>Cats have a wide range of social communication including meows, purrs, trills, and body language</li>
<li>A cat is capable of landing on all four paws from heights of 90cm to 3m</li>
<li>Feral cats may form social colonies, but they are purely solitary hunters</li>
<li>The domestic cat was the second most popular pet in the United States in 2017</li>
</ul>
</section>
<footer><p>You can find more information about cats at this <a id="tribute-link" href="https://en.wikipedia.org/wiki/Cat" target="_blank">Wikipedia</a> article</p>
</main>
</body>
</html>