image

© Risto Viita/Shutterstock

chapter2

Integrating Images

WEBPAGES MAKE EXTENSIVE USE of graphics images. To place an image within an HTML page, you use the <img> tag. As you will learn, when using various style attributes, you have complete control over image sizing and placement.

Learning Objectives

This chapter examines all aspects of webpage image use. By the time you finish this chapter, you will understand the following key concepts:

   How to use the <img> tag to place an image within a webpage

   What the difference is between absolute and relative image URLs

   Why and how to specify alternative text for an image

   How to specify an ...

Get Introduction to Web Development Using HTML 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.