Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Work with Images | Working with Media and Tables
Ultimate HTML
course content

Course Content

Ultimate HTML

Ultimate HTML

1. Understanding Web Development
2. HTML Tags and Attributes
3. HTML Document Structure
4. Working with Media and Tables
5. HTML Forms and User Input

book
Challenge: Work with Images

Goal

Practice using the absolute path for images in HTML.

Task

Ensure the src attribute of the first image uses the absolute path. You can find the image at:

Utilize the absolute path for the src attribute of the second image. Access the image here:

Specify the appropriate alt attribute value for both images. Remember, the alt value is crucial for providing context in case images fail to load or for users relying on screen readers.

html

index.html

copy
  1. Use the img tag to specify an image.
  2. Use the src attribute to specify the image's location.
  3. Use the alt attribute to furnish a descriptive text for the image.
  4. You can use the width attribute to define the image's width.
  5. You can use the height attribute to define the image's height.
html

index.html

copy
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 2
We're sorry to hear that something went wrong. What happened?
some-alt