+ 2

Multiple images html

Hi there, is there a way to add multiple images to my html page from a folder on my computer? So for example if I want to make something like a gallery, that the html file opens and there are a bunch of pictures, do I have to have many <img> tags or is there a way to add multiple?

20th Nov 2019, 3:12 AM
Eli
5 Answers
+ 1
A table is good starting point. Make 4 x 4 cells, put images in each cell, make the images small. Example: <img src="" width="150" height="150" /> Or use percentage values. Each image can be turned into a link to load the image bigger on separate page. This would be your starting point as you are only beginning.
20th Nov 2019, 8:37 AM
Xyenia 🦉
Xyenia 🦉 - avatar
+ 1
wet water ))) how would I make a gallery with a grid layout? so that way I dont have to position each one? and also how can I make it so I can click on the picture and it opens up?
20th Nov 2019, 3:45 AM
Eli
+ 1
wet water ))) thanks but its not the right size and its positioned partly inside my other <div>
20th Nov 2019, 4:08 AM
Eli
+ 1
Xyenia 🦉 how can I position my table so that it doesnt overlap the <div> atop it?
22nd Nov 2019, 4:45 AM
Eli
0
give me the answers pls
20th Nov 2019, 6:22 PM
paka hafiz
paka hafiz - avatar