<class home>  <graphics>   <back   next>

Graphics For the Web: getting the image onto an html page

Image Tag continued...
you can add borders to your images with the border attribute
<img src="name of image" border="3" />
images that are used as links will have a border unless you set the border attibute to "0".


example1>>> with a border
example2>>> an image used as a link
example3>>> an image used as a link with the border set to "0"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<title>Pony Pony Pony</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Here is my pony<br />
<img src="pony.gif" border="3" />
</body>
</html>