O'Reilly logo

Teach Yourself Visually™ HTML5 by Mike Wooldridge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

Adding Images

Are you ready to add images to your web page? Images include photographs, logos, clip art, backgrounds, clickable buttons, and more. You can insert images into your web page using the <img> tag and adjust the alignment and padding of the images using CSS style sheets. You can also use HTML5 code to add captions to your images. Understanding how to place images on a web page is important because photos and illustrations can be key to adding visual appeal.

image

Understanding Web Page Images

Insert an Image

Specify an Image Size

Add Alternative Text

Create an Image Label

Add an Image as a Figure

Align an Image Horizontally

Align ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required