Inserting_Images

One of the most common (and most noticable) tags in HTML is the "img" tag - the tag that makes pictures.

The tag has one required attribute in order to work, and one required attribute for this class (and for good design). The first attribute is the "src" (source) attribute. This attribute indicates where the image file is that you wish to show. Since HTML files are just text files, you can't really stick a picture in the middle - instead you put an image tag that indicates the URL of the picture on the web. (This means that the picture must be a file of its own to be visible to other people!) You can link to files with the following suffixes: gif, jpg or png, and they will show up on most browsers today.

The second attribute is the "alt" attribute - this is what shows up if the image doesn't load, either because it is a bad link, because the viewer's connection is very slow, or because the viewer is using a handicapped access browser that "reads" the page for people who are visually impaired. For our class, it is mandatory that all img tags have a "alt" attribute. (And it's a good idea, even if you are m code format="html4strict"  code (Note: this wiki web page does not allow me to make "alt" attributes. More's the pity.)

Consider the following questions, and then click on the "Discussion" tab at the top of this page to respond:
 * What type of tag is the tag?
 * In the example above, what type of URL was this?