Open main menu

CDOT Wiki β

Changes

OPS435 Test1 Practice - Bash

34 bytes added, 13:11, 23 February 2016
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.