Login Register Appointment

Adding an Image

Lesson 4/11 | Study Time: 3 Min

Find an image online or use one from your local device and add it to your HTML page. Use the src attribute to specify the image URL or file path, and use the alt attribute to provide alternate text for accessibility. also  display a tooltip when a user hovers over the image. This exercise helps you learn how to display images in HTML.