To wrap text around a graphic, use the "align"
attribute. Notice in the results how the text
nearly touchs the picture before it wraps. We
will fix this problem in the next example.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Worley Construction Inc.</title>
</head>
<body bgcolor=#ffffff text="black" link="blue" vlink="purple">
<center><h1>Worley Construction Inc.</h1></center>
<img src="images/design.jpg" align="right"
width="184" height="99" alt="Home" />
Worley Construction Inc. is a full service custom home
building and remodeling firm, specializing in residential
design building projects. Our business is based on the fact
that a satisfied client is a returning and referring client; and
satisfaction can only be attained through trust and
delivering the highest quality construction based on creative
design, with total respect to function, aesthetics and budget.
At WCI we approach your building or renovation from a
unique viewpoint . . . YOURS!
</body>
</html>
|