23 lines
802 B
HTML
23 lines
802 B
HTML
<!--
|
|
4. Write a web page which should contain on a row several thumbnail images and above that row should contain a larger image. If the mouse is over a thumbnail image, the larger version of that image should appear above it.
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Lab 2</title>
|
|
<link rel="stylesheet" type="text/css" href="style2.css">
|
|
</head>
|
|
<body>
|
|
<div id="thumbnail-images">
|
|
<img id="img1" src="thumbnail1.jpg">
|
|
<img id="img2" src="thumbnail2.jpg">
|
|
<img id="img3" src="thumbnail3.jpg">
|
|
<div id="large-image">
|
|
<img class="large" id="img1" src="thumbnail1.jpg">
|
|
<img class="large" id="img2" src="thumbnail2.jpg">
|
|
<img class="large" id="img3" src="thumbnail3.jpg">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |