© Risto Viita/Shutterstock


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 live online training, plus books, videos, and digital content from nearly 200 publishers.