Multiple images html | SoloLearn: Learn to code for FREE!


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?

11/20/2019 3:12:21 AM


7 Answers

New Answer


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.


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?


wet water ))) thanks but its not the right size and its positioned partly inside my other <div>


Xyenia 🦉 how can I position my table so that it doesnt overlap the <div> atop it?


give me the answers pls