Different Worlds: An Introduction to HTML

Appendix A: Example Files

FILE16.HTML : Adding images (1)

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

<html>
<head>
<title>(file16.html) Adding images (1)</title>
</head>
<body bgcolor="#ffffff">
<h1><font face="Verdana, Arial, sans-serif" color="#cc3333">Adding images (1)</font></h1>
<img src="photo1.jpg" width="137" height="150" alt="Photo of a girl's head">
<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-a16.html
© 1998-2001 Donna Smillie <dms@zetnet.co.uk>