Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Voices That Matter

  • Print
  • + Share This
This chapter is from the book

HTML for Placing Text Graphics

Placing graphics on a web page is addressed in depth in Chapter 17, "Rules & Bullets." The most basic way to insert a graphic on a page is to use the IMG element. Here's how to insert the drop-shadow artwork, that you created earlier, on a page.

code

<html>
<body>
<img src="dropshad.jpg">
</body>
</html>

If you want to link the drop-shadow image to another source, combine the IMG element with an A element.

code

<html>
<body>
<a href="http://www.domain.com"><img src="dropshad.jpg"></a>
</body>
</html>

Figure 2.90Figure 2.90 This page uses a text graphic inserted with HTML.

  • + Share This
  • 🔖 Save To Your Account