-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
30 lines (27 loc) · 1.41 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Responsive HTML Gallery</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>Responsive HTML Gallery</h1>
<p>This is a responsive image gallery I made a long time ago. It's come in quite handy over the years, and I thought others might find it useful as well. It features five images, but, of course, more can be added as necessary. This is designed primarily as a portfolio, with images acting as links to other resources, but it can also be used with a lightbox effect (not included in this code).
Compiled 2019.</p>
<figure> <!--This is where the image is inserted.-->
<a href="#" target="new"><img src="images/cascade.jpg" alt="Image 1" /></a>
<figcaption><!--This is where the caption (if any) is inserted.-->Image 1</figcaption></figure>
<figure>
<a href="#" target="new"><img src="images/line_test.jpg" alt="Image 2" /></a>
<figcaption>Image 2</figcaption></figure>
<figure>
<a href="#" target="new"><img src="images/lines.png" alt="Image 3" /></a>
<figcaption>Image 3</figcaption></figure>
<figure><a href="#" target="new"><img src="images/smoke.png" alt="Image 4" /></a>
<figcaption>Image 4</figcaption>
</figure>
<figure><a href="#" target="new"><img src="images/space.png" alt="Image 5" /></a>
<figcaption>Image 5</figcaption></figure>
</body>
</html>