Hi I'm new to html and I was just making something for fun as a practice. I'm trying to display multiple images in html, and I wasn't sure how. For example,
<img src="/images/1/1.jpg" class="center">
<img src="/images/1/2.jpg" class="center">
<img src="/images/1/3.jpg" class="center">
<img src="/images/1/4.jpg" class="center">
I have this right now, but I don't want to write this every time. I was wondering how I would do it. Could I use JavaScript or php or anything to put all images in the folder at once?