Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 5: Image Manipulation in HTML!

Instruction

How to Include an Image on a Page

To add an image, you use the <img> element, specifying the src attribute for the image source and the alt attribute for accessibility. Here’s an example showing images with and without the width and height attributes.

<h2>Images with Size Specifications</h2>
<!-- Image with specified dimensions -->
<img src="sample.jpg" alt="Sample image with specified dimensions" widt...