Lesson 5: HTML Graphics
(Background Graphics)

The only required XHTML attributes for the <img /> tag are "src" and "alt", but you are strongly encouraged to also use the "width" and "height" attributes. Width and height are measured in units called "pixels" which are each equal to one graphic point on the screen.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Virtual Fish Tank</title>
</head>

<body bgcolor="#bdbdbd" text="white" link="blue" vlink="purple">
<b>
<center>
<font size="+2">My Virtual Fish Tank</font><br />

<font color="red">
<i>Please do not feed the fish. Thanks! </i>
</font>
<br />
<img src="images/aquarium.gif" width="256" height="256"
     alt="Aquarium" />
<br />
</center>
</b>
</body>
</html>