As for splitting images into several separate files or placing invisible GIFs over images to try
to stop people from downloading them, don??™t do this??”there are simple workarounds in
either case, and you just end up making things harder for yourself when updating your
site. Sometimes you even risk compromising the structural integrity of your site when
using such methods.
Stealing images and designs
Too many people appear to think that the Internet is a free-for-all, outside of the usual
copyright restrictions, but this isn??™t the case: copyright exists on the Web just like everywhere
else. Unless you have permission to reuse an image you??™ve found online, you
shouldn??™t do so. If discovered, you may get the digital equivalent of a slap on the wrist, but
you could also be sued for copyright infringement.
WORKING WITH IMAGES
133
4
Although it??™s all right to be influenced by someone else??™s design, you should also ensure
you don??™t simply rip off a creation found on the Web??”otherwise you could end up in legal
trouble, or the subject of ridicule as a feature on Tim Murtaugh??™s Pirated Sites forum (see
www.pirated-sites.com/vanilla/).
Working with images in XHTML
The img element is used to add images to a web page. It??™s an empty tag, so it takes the
combined start and end tag form with a trailing slash, as outlined in Chapter 1. The following
code block shows an example of an image element, complete with relevant attributes:

192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216