Different Worlds: An Introduction to HTML

Appendix A: Example Files

FILE15.HTML : Using a background image

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

<html>
<head>
<title>(file15.html) Using a background image</title>
</head>
<body background="bg1.gif">
<h1>A Simple Web Page</h1>
<h2>Basic Structure</h2>
<p><em>This</em> page illustrates the <strong>basic</strong> structure of an HTML document.</p>
</body>
</html>

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

Here is the background image used in this example:

Example background image

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

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-a15.html
© 1998-2001 Donna Smillie <dms@zetnet.co.uk>