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.


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 ...

Get Teach Yourself Visually™ HTML5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.