HTML AND CSS: PHOTOGALLERY Complete the following steps and follow the picture: 1. Code a div assigned to the id named gallery. This div will contain the thumbnail images, which will be configured within an unordered list. 2. Configure an unordered list within the div. Code four li elements, one for each thumbnail image. The thumbnail images will function as image links with a :hover pseudo-class that causes the larger image to display on the page. We’ll make this all happen by configuring an anchor element containing both the thumbnail image and a span element that comprises the larger image along with descriptive text. An example of the first li element is  3. Configure all four li elements in a similar manner. Substitute the actual name of each image file for the href and src values in the code. Write your own descriptive text for each image. Use photo2.jpg and photo2thumb.jpg in the second li element. Use photo3.jpg and photo3thumb.jpg in the third li element. Use photo4.jpg and photo4thumb.jpg for the fourth li element. index.html Image Gallery Image Gallery

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

HTML AND CSS: PHOTOGALLERY

Complete the following steps and follow the picture:

1. Code a div assigned to the id named gallery. This div will contain the thumbnail images, which will be configured within an unordered list.

2. Configure an unordered list within the div. Code four li elements,
one for each thumbnail image. The thumbnail images will function
as image links with a :hover pseudo-class that causes the larger
image to display on the page. We’ll make this all happen by
configuring an anchor element containing both the thumbnail image
and a span element that comprises the larger image along with
descriptive text. An example of the first li element is 

<li><a href="photo1.jpg"><img src="photo1thumb.png" width="10 <span><img
src="photo1.png" width="250" height="150">
</li>

3. Configure all four li elements in a similar manner. Substitute the actual
name of each image file for the href and src values in the code. Write
your own descriptive text for each image. Use photo2.jpg and
photo2thumb.jpg in the second li element. Use photo3.jpg and
photo3thumb.jpg in the third li element. Use photo4.jpg and
photo4thumb.jpg for the fourth li element.

index.html

<!DOCTYPE html>
<html lang="en">
<head>
<title>Image Gallery</title>
<meta charset="utf-8">
</head>
<body>
<h1>Image Gallery</h1>
<div id = "gallery">
    

 

</div>
</body>
</html>

Image Gallery
Image Gallery
1800
Golden Gate Bridge
California Beach
с
X
M
III
Transcribed Image Text:Image Gallery Image Gallery 1800 Golden Gate Bridge California Beach с X M III
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Elements and Tags
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education