Exercise: Images


1. Open Notepad and type the following text:


<!DOCTYPE html>
<html>
<head>
<title>Images</title>
</head>
<body>
star2.jpg width="50" height="20"
numbers.jpg
tags.jpg
</body>
</html>



2. The image tags for star2.jpg, numbers.jpg and tags.jpg have been omitted. Type the tags for each of the images; include a line break after each of the image tags.

3. For the following images type the alt attribute:

4. Change the size of the star image to width="100" and height="60"

5. Click on the Answer button to check your work.








Website Displays

A star
numbers
HTML tags