Different Worlds: An Introduction to HTML

Appendix A: Example Files

FILE18.HTML : Adding images (3)

Copy and paste, or type, the HTML code shown below into your text editor, and save it as "file18.html":

<html>
<head>
<title>(file18.html) Adding images (3)</title>
</head>
<body bgcolor="#ffffff">
<h1><font face="Verdana, Arial, sans-serif" color="#cc3333">Adding images (3)</font></h1>
<img src="photo1.jpg" width="137" height="150" alt="Photo of a girl's head" align="left" vspace="20" hspace="20">
<p><font face="Verdana, Arial, sans-serif" color="#000099">Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text Sample text </font></p>
</body>
</html>

Alternatively, this link leads to a copy of this file, already created for you.

Here is the photograph used in this example:

Example photograph for use with file16.html, file17.html and file18.html

Copy it into the same directory as your example HTML files, and call it "photo1.jpg".

Return to the tutorial or return to the list of example files.


Valid HTML 4.01

http://www.users.zetnet.co.uk/dms/htmlguide/app-a18.html
© 1998-2001 Donna Smillie <dms@zetnet.co.uk>