1,234
edits
Changes
→Write HTML for images
== Write HTML for images ==
In the images subdirectory of the current directory you have a pile of jpg images. You want to generate some code to put them all in a webpage. The HTML to show one image looks like this (the quotes around the filename can be single or double quotes):
<source lang="html4strict"><img src="images/imagefilename.jpg" /></source>
Write the script that will generate one big HTML file with an <img> tag for every image in the current directory.