MidtermExam - Web Dev. 2-3
MidtermExam - Web Dev. 2-3
MAY 2022
I. IDENTIFICATION
1
II. IMAGE MAPPING 25pts
Directions: Write the codes that fit to the image just use the shape of the circle and rectangle.
Use the following shapes:
Circle – Jupiter, Saturn and the remaining planets URANUS and Neptune and Mars you will use RECT shape
Image size: Width 200 Height= 200
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body style="background-color:#2E4053 ;">
<h3 style="text-align:center; color:antiquewhite; padding-top: 40; font-size: 40;" >Image Mapping Midterms</h3>
<map name="image-map">
<area target="" alt="Uranus" title="Uranus" href="Uranus" coords="151,81,166,105" shape="rect">
<area target="" alt="Neptune" title="Neptune" href="Neptune" coords="168,82,185,106" shape="rect">
<area target="" alt="Mars" title="Mars" href="Mars" coords="73,110,80,83" shape="rect">
<area target="" alt="Jupiter" title="Jupiter" href="Jupiter" coords="100,92,18" shape="circle">
<area target="" alt="Saturn" title="Saturn" href="Saturn" coords="134,92,15" shape="circle">
<area target="" alt="Earth" title="Earth" href="Earth" coords="64,94,NaN" shape="circle">
<area target="" alt="Venus" title="Venus" href="Venus" coords="52,95,NaN" shape="circle">
<area target="" alt="Mercury " title="Mercury " href="Mercury " coords="41,94,NaN" shape="circle">
</map>
</body>
</html>
2
OUTPUT