www.example.com/images/1.png www.example.com/images/2.png www.example.com/images/3.png www.example.com/images/4.png etc...
<img src="1.jpg"></img> <br> <img src="2.jpg"></img> <br> <img src="3.jpg"></img> <br> <img src="4.jpg"></img> <br> <img src="5.jpg"></img> <br> <img src="6.jpg"></img> <br> <img src="7.jpg"></img> <br> <img src="8.jpg"></img> <br> <img src="9.jpg"></img> <br> <img src="10.jpg"></img> <br>
<div id="output"></div>
const output = document.getElementById("output"); for (let i = 1; i < 5000; i++) { const img = document.createElement("img"); img.src = `https://www.example.com/images/${i}.png`; output.appendChild(img); const br = document.createElement("br"); output.appendChild(br); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)